TeX джерело:
\begin{array}{l}y' = ({\cos ^2}x)' = 2\cos x \cdot (\cos x)' = 2\cos x \cdot ( - \sin x) = - 2\cos x\sin x = \\ = - \sin 2x;\end{array}