GATE 2018 CE (CE1) – Question 36
Evaluate $\int_0^\pi x\cos^2x\,dx$.
Practise this question in The GATE Grind →
Show answer and explanation
Correct answer: (B) $\pi^2/4$
Explanation
Use $\cos^2x=(1+\cos2x)/2$. The first term integrates to $\pi^2/4$. Integration by parts gives zero for $\int_0^\pi x\cos2x\,dx$ because endpoint sine terms vanish and cosine terms cancel. Answer B.