Source TeX:
\cos^2(\theta)=\dfrac{1+\cos(2\theta)}{2},