Question: fourier coefficients

HI,

 

I am trying to solve for fourier coefficients but can't figure out the error in the code. Need help to debug the code.

Also if possible how to find the harmonics in the curve defined in the code.

following is the website from where i got this code

http://www.mapleprimes.com/questions/121551-Fourier-Serie-And-Discrete-Fourier-Transform

fouriercoefficient_h.mw

Thanks alot

Ali Khan

Please Wait...