I am struggling with the following question, any help would be greatly appreciated!
Find the Fourier series of f(x) = pi - x
Thinking of f(x) as defined on the interval [-pi,pi]
So I know I must find ao, ak and bk.
I have found:
ao = 0
ak = - (x sin(kx)) / (k pi)
bk = + (x cos(kx)) / (k pi)
Is this correct? Please provide step by step solutions is possible.