integrate (1+sin(3x))^2*cos(3x) from -pi/2 to pi/2