- #1
knowlewj01
- 110
- 0
Homework Statement
Sketch the function:
[itex]f(x) = \begin{Bmatrix} \frac{-x}{a} & 0 \leq x \leq a \\ \frac{x-L}{L-a} & a \leq x \leq L[/itex]
where f(x) is an odd function and is periodic in 2L.
And a is a constant less than L/2
Find the Fourier series for the function f(x).
Homework Equations
The Attempt at a Solution
I have attached a rough sketch of the function, its not perfect but good enough to get the general idea. We can see that the function is odd and Discontinuous at f(a) and f(a+L)
the general formula for the Fourier series is:
[itex] \frac{a_0}{2} + \sum_{n=1}^{\infty} a_n cos\left(\frac{n\pi x}{L}\right) + b_n sin\left(\frac{n\pi x}{L}\right)[/itex]
we are told that the function is odd, hence all the a_n terms must be 0.
so the Fourier series is in the form:
[itex] \sum_{n=1}^{\infty} b_n sin(\frac{n\pi x}{L})[/itex]
to find the b_n terms use the formula:
[itex]b_n = \frac{1}{2L} \int_{-L}^L f(x) sin(\frac{n\pi x}{L}) dx[/itex]
odd function * odd function = even function, so:
[itex]b_n = \frac{1}{L} \int_0^L f(x) sin(\frac{n\pi x}{L}) dx[/itex]
so.. do i then split this up into 2 separate integrals:
[itex]b_n = \frac{1}{L}\left[ \int_0^a \left(\frac{-x}{a}\right) sin(\frac{n\pi x}{L}) dx + \int_a^L \left(\frac{x-L}{L-a}\right) sin(\frac{n\pi x}{L})\right][/itex]
am i able to do this?
the thing that is confusing me the most is wether i am using the right values for L (ie, not sure wether its supposed to be 1/L , 2/L , 1/2L etc)
I followed this through and ended up with a horrible expression containing terms in:
[itex] sin\left(\frac{n \pi a}{L}\right)[/itex]
and
[itex] cos\left(\frac{n \pi a}{L}\right)[/itex]
thanks
Attachments
Last edited: