How to evaluate the integral $\displaystyle\int_0^r x^2\cos x\,dx$ for $r\in\mathbb{R}$ without using integration by parts?
And the hint is differentiate $\displaystyle\int_0^r\cos(tx)\,dx$ twice with respect to $t$.
The hint does not help. Can someone help me?