Show the worked solutionSubstitute \(u=x-\pi\), so \(x=u+\pi\) and \(u\) runs from \(-\pi\) to \(\pi\):\[\int_{0}^{2\pi}(x-\pi)^2\sin x\,dx=\int_{-\pi}^{\pi}u^{2}\sin(u+\pi)\,du=-\int_{-\pi}^{\pi}u^{2}\sin u\,du.\]\(u^{2}\sin u\) is an odd function, so its integral over the symmetric interval \([-\pi,\pi]\) is \(0\).Answer: B
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com