\documentclass[12pt]{article}

\begin{document}

$$
   E = K (\cos\gamma - \cos\gamma_0)^2 
$$

\end{document}