\copyrightTim

\begin{frame}[fragile]{Display math}
    There are many display math environments. Today we focus on the \textbf{align} environment.

    \begin{minted}[linenos=false]{tex}
     The double angle formula can now be rewritten as   
    \begin{align}
        \cos(2\theta) &=  \cos^2\theta - sin^2\theta \\
                      &= 2\cos^2\theta - 1 
    \end{align}
\end{minted}
The double angle formula can now be rewritten as
    \begin{align}
        \cos(2\theta) &=  \cos^2\theta - sin^2\theta \\
                      &= 2\cos^2\theta - 1 
    \end{align}


\end{frame}