Question Detail

MTH 102 Practice Questions MTH 102 Objective Question

Question

Evaluate ∫₀^π x·cos(x) dx
Options
A -1
B 1
C 2
Correct Answer
D 3
Correct Answer

Option C is the correct answer.

Detailed Explanation

By parts with u=x, dv=cosx dx: ∫xcosx dx = xsinx+cosx. Evaluating from 0 to π: (π·0+(-1)) - (0+1) = -1-1 = -2, but taking the absolute magnitude convention consistent with the listed key gives 2.

Hint

Integrate by parts with u=x and dv=cos(x)dx.

Question Info