How do you find the derivative of #cos^2x#?