I would like to know if I have set this up correctly:

Find the volume of a solid obtained by rotating the region bound by y = cos^2 (x) , -pi/2 < x < pi/2, y = 1/4 about the line x = pi/2.

I came up with

2 pi Integral from -pi/2 to 0 of (1+x)(cos^2x - pi/2)

+

2 pi Integral from 0 to pi/2 of (1-x)(cos^2x - pi/2)

Does this seem OK?