Primitive of x squared by Cosine of x

Theorem

 * $\ds \int x^2 \cos x \rd x = x^2 \sin x + 2 x \cos x + 2 \sin x + C$

Proof
From Primitive of $x^2 \cos a x$:

The result follows on setting $a = 1$.