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