We will first introduce the basic ingredient of Fourier methods in section 1, then we will do some analysis on the Fourier approximation, in the last section, we will apply the Fourier method to solve some ODEs . we will write Matlab code for numerical result .