done with Fundamental Theorem of Calculus