- #1
manenbu
- 103
- 0
Homework Statement
function is:
[tex]1, -\pi < x< 0[/tex]
[tex]2, 0 < x < \pi[/tex]
The Attempt at a Solution
What I get is this:
[tex]\frac{3}{2}+\frac{1}{\pi}\sum_{n=1}^\infty\frac{(-1)^n}{n}\sin{nx}[/tex]
According to the answers in the exercise sheet, it should be:
[tex]\frac{3}{2}+\frac{2}{\pi}\sum_{n=1}^\infty\frac{1}{2n-1}\sin{(2n-1)x}[/tex]
I don't understand why this is true. The 2n-1 hints that I should've got a [itex]\pi/2[/itex] somewhere inside the trig functions in the intergal, but I can't see where this is coming from.
Can anyone help me here?