\documentclass{article}
\input{preamble}
\title{Wicked Waves - MathGames}

\begin{document}

\maketitle
{\bf Difficulty:} \stars{1}\\
{\bf Key words: Calculus} \\

Winston is a well-known windsurfer who would like to go windsurfing on a windy Wednesday. However, wanting to avoid falling in the water, Winston is wary of tall waves. To determine if the water is worthy of Winston's whereabouts, he wonders on a whim whether you can calculate the height of the tallest waves. It is widely known that windy waves are well-modeled by the equation
$$
h(x) = \sin^n(x)\cos^m(x),
$$
which winds the problem down to finding the maximum of this wicked wave equation.
\vspace{0.5cm}

{\Large \textbf Input}
\begin{itemize}
    \item Two space-separated integers $1 \leq n, m \leq 10$, the exponents of $\sin$ and $\cos$ respectively.
\end{itemize}

{\Large \textbf Output}
\begin{itemize}
    \item The maximum height of the waves. Your answer should have an absolute error of at most $10^{-7}$.
\end{itemize}


{\Large \textbf Examples}\\
\begin{center}
\scalebox{1.5}{
\begin{tabular}{|l|l|}
\hline
Input & Output \\ \hline
1 1 & 0.5\\\hline
\end{tabular}
}

\vspace{1em}

\scalebox{1.5}{
\begin{tabular}{|l|l|}
\hline
Input & Output \\ \hline
7 5 & 0.016989503\\\hline
\end{tabular}
}
\end{center}


\end{document}