larsmars

8 Reputation

2 Badges

14 years, 239 days

MaplePrimes Activity


These are questions asked by larsmars

Hi guys, we've got a Fourier transform problem here. This is how we calculate Fourier coefficient: 4/pi*int(cos(3*x)*cos(n*x), x=0..Pi/2) (we try to expand cos(3*x)) so here we got the answer 12*cos((1/2)*Pi*n)/(Pi*(-9+n^2)) correcr answer, you see, is B3=1; but when we write this: 4/pi*int(cos(3*x)*cos(n*x), x=0..(1/2)*Pi)assuming n=3 the result shown is zero. we don't know how it works. because this value is evaluating correctly: 4/Pi*int(cos(3*x)*cos(3*x), x=0..(1/2)*Pi) the answer is right - 1.
Page 1 of 1