GATE 2014 CS (CS3) – Question 57
Evaluate $\int_0^\pi x^2\cos x\,dx$.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (A) $-2\pi$
Explanation
Integration by parts gives[x²sinx]₀^π−2∫₀^πxsinx dx. The boundary term vanishes, and the remaining integral isπ. Therefore the value is **−2π,A**. A second integration by parts confirms the sign.