Homework Statement
To find the Fourier series for
f(x)=
0, -2<x<0
x, 0≤x<1
1, 1≤x<2
Homework Equations
f(x)=a_0/2+Ʃ(from n=0 to ∞) (a_n*cos(npix/p) + b_n*sin(npix/p))
The Attempt at a Solution
So p=2, interval=[-2,2]
a_0=3/4,
a_n=(2/n^2pi^2)*(cos(npi/2)-1),
Here is my problem:
did...