math_04
- 21
- 0
Homework Statement
The odd periodic function f(x) is defined by
f(x) = -4-x for -4 <= x <= 0 and 4-x for 0 <= x <= 4
f(x + 8) = f(x)
Sketch f(x) for -12 <= x <= 8
Find the coefficients in the Fourier series for the function defined by equation (1) and write out the series, explicitly giving the first three non zero terms in the series
Homework Equations
bn = 1/L integral of f(x)sin (npix / L) dx with limits from L to -L
The Attempt at a Solution
So do I do like this
bn = 1/4* integral of (-4-x) sin (npix/4) with limits from 4 to -4 plus 1/4*integral of 4-xsin(npix/4) with limits from 4 to -4?
Then i use integration by parts to solve the integrals?
Or is there an easier way like for an even Fourier series if you have L as 2 and -2, u can have the limits of the integral as 2 and 0?