Math Help - Fourier series (Whats wrong?)

1. Fourier series (Whats wrong?)

I keep getting these answers wrong, which part is wrong id love some help.

For mathqs1......Q2 i have also tried 18 and 27

For mathqs2..... Q5 i have also tried 0

2. Re: Fourier series (Whats wrong?)

Originally Posted by Brennox
I keep getting these answers wrong, which part is wrong id love some help.

For mathqs1......Q2 i have also tried 18 and 27

For mathqs2..... Q5 i have also tried 0

For $S_2(x)$ you should enter a formula something like $a+b \sin(x) + c \cos(x) + d \sin(2x) + e \cos(2x)$ where $a,b,c,d,e$ are numerical values you have calculated from the function and Fourier series definitions.

.

3. Re: Fourier series (Whats wrong?)

Originally Posted by Brennox
I keep getting these answers wrong, which part is wrong id love some help.

For mathqs1......Q2 i have also tried 18 and 27

For mathqs2..... Q5 i have also tried 0

For question 5 you want to evaluate:

$a_n=\frac{1}{\pi}\int_{-\pi}^{\pi}f(t) \cos(nt)\;dt = \frac{2}{\pi} \int_{0}^{\pi}f(t) \cos(n t)\;dt$

The last term is because $f(t)$ is the even extension of $f(t)$ defined on $(0,\pi)$.

.

4. Re: Fourier series (Whats wrong?)

Originally Posted by zzephod
For $S_2(x)$ you should enter a formula something like $a+b \sin(x) + c \cos(x) + d \sin(2x) + e \cos(2x)$ where $a,b,c,d,e$ are numerical values you have calculated from the function and Fourier series definitions.

.
yeah i did that but got the wrong answer can you try it?

5. Re: Fourier series (Whats wrong?)

Originally Posted by Brennox
yeah i did that but got the wrong answer can you try it?
$a_n=\frac{1}{\pi}\int_{-\pi/2}^{\pi/2}9\times \cos(nt)\;dt=\frac{18\,\sin\left( \frac{\pi\,n}{2}\right) }{\pi\,n}$

which can be simplified further, and because you have an even function all $b_n=0$