Fourier Series and Numerical Methods