# Frouier series problem

1. Mar 24, 2008

### hazim

[SOLVED] Frouier series problem

Lately I took Frouier series...
1. The problem statement, all variables and given/known data

Find the Fourier series of the function below which is assumed to have the period 2 $$\pi$$, and find the first three partial sums.

2. Relevant equations

3. The attempt at a solution

I used office 2007 to write my solution....and here they are hosted as a picture..

I see my answer not correct, I hope someone helps me..Thanks

Last edited: Mar 24, 2008
2. Mar 24, 2008

### G01

You are correct to integrate from -pi to pi in the integral, but your function is non-zero over that entire interval, so I do not know why you have the function value as 0 in $$[-\pi , -\pi/2]$$ and $$[\pi/2 , \pi]$$.

Also I believe your constant in front of your integral for a_n is incorrect. The constant in front of that integral should be:

$$\frac{2}{Period}=\frac{2}{2\pi}=\frac{1}{\pi}$$

Last edited: Mar 24, 2008
3. Mar 25, 2008

### hazim

sorry, there is a wrong in the picture of the function...the correction is
-2Pi becomes -Pi; -Pi becomes -Pi/2; Pi becomes P/2; and 2Pi becomes Pi.

so 'GO' the 0's in the integrals you specified becomes right with me..and you are correct about a_n, it should be 1/Pi and the same in the denominator of the cosine in that line..

4. Mar 25, 2008

### G01

OK your integration makes sense then.

BTW. I usually imagine my PF name being pronounces "G Zero One."

So, was the constant your problem or do are you still having trouble?

5. Mar 26, 2008

### hazim

yes it was the constant..it's now solved..thanks

6. Mar 28, 2008

### G01

Glad to be of help.