That looks right. I did some plotting of the partial sums, and the Fourier expansion matches up with the original function nicely. You're welcome. Have a good one!
Follow Math Help Forum on Facebook and Google+