\documentstyle[12pt]{article} \begin{document} $$ E=C\left[ 1-B(-1)^ncos\left( n\theta\right) \right] $$ \end{document}