Determines and graphs the fourier series approximation of a function to varying degrees.