Fourier Series of Piecewise Function, , PWL approximation to a sine. 
The spectrum of signals with jumps in their values tend to converge slowly. Continuous functions tend to have faster converging series. The function opposite is continuous although it has jumps in its first derivative and its spectrum can be seen in the applet below. 
