Science:Math Exam Resources/Courses/MATH100/December 2019/Question 4 (a)/Solution 1

From UBC Wiki

Integrate f"(x) twice. Integrating f"(x) once we obtain:


for some constant C. Therefore, by the Fundamental Theorem of Calculus, f'(x) = sin(x) + 2x +C1 . Integrating this expression again yields

Now, f(0) = -cos(0) + C2= -1+C2=5 and we conclude that C2=6. On the other hand, f'(0) = sin(0) +C1=5 , which yields C1=5.

In conclusion, the desired function is .