integrate (cos x)^2 from x=0 to x= 2pi