Construct the first three Fourier approximations to the square wave
function
f(x) = \begin{cases}-1 & -\pi \le x < 0\cr 1 & 0 \le x < \pi\end{cases}

Using a calculator, graph the function and the first three Fourier
approximations to see how the approximation matches the function

You can earn partial credit on this problem.