Joe B. answered 07/06/20
30 yr. veteran high school instructor - online tutoring
Given f"(x) = 4x + 4sinx x
f'(x) = 2x^2-4cos x + C the constant of integration
Since f'(0) = 2
Then
2 =2(0)^2 - 4 cos(0) +C
2 = -4(1) +C
6= C
Now f'(x) = 2x^2 - 4 cos x + 6
This makes
f(x) = (2/3) x^3 -4 six x + 6x + D (D stands for constant of integration since C used already)
Since f(0) = 2 we get
2 = (2/3) 0*3 -4 sin 0 + 6(0) + D
2 = D
Thus
f(x) = (2/3) x^3 -4 six x + 6x + 2
f(3) = (2/3)*3^3 - 4 sin 3 + 18 + 2
f(3) = 18 -4 sin 3 + 20
f(3) = 38 - 4 sin 3