http://mathworld.wolfram.com/FourierSeries.html