Nallyfish
- 6
- 0
Homework Statement
The function f has period 4 and is such that
f(x)=2+x, -2<x[itex]\leq0[/itex]
f(x)=2, 0<x<2
Sketch the graph of f for x∈[−4, 4] and obtain its Fourier series.
Homework Equations
The Attempt at a Solution
Okay so I've pretty much sketched the graph, but I've been thrown by the 2+x and I'm not sure what to do from this point onwards.
So a0=[itex]\frac{1}{2}[/itex][itex]\int^{2}_{0}2dx[/itex]=2
an=[itex]\frac{1}{2}[/itex][itex]\int^{2}_{0}2*cosnxdx[/itex]
So
an=[itex]\frac{sin2n}{n}[/itex]
And
bn=[itex]\frac{-(cos(2n)-1)}{n}[/itex]
Am I on the right lines...?
Last edited: