patter2809
New member
- Joined
- Mar 29, 2013
- Messages
- 17
Q. Find best approximation to f(t) = t in interval (-pi,pi) by a linear combination of exp(kit), for integer k, and represent as a real-valued function. Write function as a sum of functions of sin(kt), and cos(kt) for k > 0.
A. Calculated Fourier coefficients to be i/k when k is even, -i/k when k is odd, and pi/2 for k = 0.
Pn(t) = pi/2 + Σk=-nn (-1)k i eikt / k. But using eikt+e-ikt = 2cos(kt), the real part of Pn(t) is just pi/2 as Σk=-nn (-1)k i eikt/k = Σk=1n (-1)k2icos(kt)/k
Please help, this is driving me mad!
A. Calculated Fourier coefficients to be i/k when k is even, -i/k when k is odd, and pi/2 for k = 0.
Pn(t) = pi/2 + Σk=-nn (-1)k i eikt / k. But using eikt+e-ikt = 2cos(kt), the real part of Pn(t) is just pi/2 as Σk=-nn (-1)k i eikt/k = Σk=1n (-1)k2icos(kt)/k
Please help, this is driving me mad!