roam
- 1,265
- 12
I once wanted to find the nth order Fourier approximation for f(x)=x. Since this function is odd, the projections on all cosines will be zero, hence it will be expressed through the sines only. So I just needed to find the sine coefficients.
The problem is that I checked the answer to this problem in two different textbooks, each one giving a different answer from the other.
So which one is correct? I mean, they both are probably correct but I don't understand why each of these books use different methods and end up with different answers. Any explanation is very much appreciated.
The problem is that I checked the answer to this problem in two different textbooks, each one giving a different answer from the other.
- The first book calculates the coefficients like this:
- The second book calculates the coefficients this way:
So which one is correct? I mean, they both are probably correct but I don't understand why each of these books use different methods and end up with different answers. Any explanation is very much appreciated.