The function \( x^2 \sin(x) \) is an odd function because \( x^2 \) is even and \( \sin(x) \) is odd. Therefore, the integral of an odd function over a symmetric interval such as \( [-\pi, \pi] \) is 0.