Fourier series :
Fourier series is able to represent any precewise regular function in the range [0,2L]
Square wave
for nmax=15
Full wave rectifier :
for nmax=14
Sawtooth wave :