Calculate (cos^2 x)'