z integrate cos^2 x dx