How do you make a fourier expansion of
f(t)=cos(t); with a period of 2pi and with -pi < t< pi
Using the Fourier formula:
f(t)=Ao + SUM (An*cos(2Pi*n*t/T)+Bn*sin(2Pi*n*t/T)
where t=Pi or -Pi
where n=1 (number of terms)
and
Ao=1/T Integral of f(t)*d(t)
where f(t) is the cos(t)
I KEEP GETTING ZERO for all Ao, An, and Bn. Guys in my class have the same thing and I dont think it is correct. There is something more to this.
Does anyone have experience doing this?