\documentclass[12pt]{article}
\thispagestyle{empty}
\usepackage{amsmath}
\begin{document}
\huge{
$\left(\sin\left(\frac{n \pi}{W}x\right) \right)^2 = \frac{1-\cos\left(2\frac{n \pi}{W}x\right)}{2}$
}
\end{document}
