- #1
Ylle
- 79
- 0
Homework Statement
Find the Fourier series of the function [tex]\[f\in {{C}_{st}}\][/tex] that in the interval ]-pi, pi[ is given by:
[tex]\[f\left( x \right)=\left\{ \begin{array}{*{35}{l}}
0for\,-\pi <x\le 0 \\
\cos \left( x \right)for\,0<x<\pi \\
\end{array} \right.\][/tex]
and give the sum of the series for x = p*pi for p [tex]$p\in Z$[/tex]
Homework Equations
[tex]\[{{a}_{k}}=\frac{1}{2\pi }\int_{-\pi }^{\pi }{f\left( x \right){{e}^{-ikx}}dxfor\,n\in Z}\][/tex]
and
[tex]\[{{f}_{N}}\left( x \right)=\sum\limits_{k=-N}^{N}{{{a}_{k}}{{e}^{ikx}}}\][/tex]
The Attempt at a Solution
Well, first I find the an simply by doing the integral, but only from 0 to pi, since it's 0 from -pi to 0.
After that I insert that in the second equation, and get the partial sum.
But it's the last bit I'm confused about. I know that p is element of Z, so therefor I should only check x for -1, 0 and 1 - I think. But am i done after I've done that, or...?
Well, the last bit confuses me a bit.
So anyone who can give me a hint ? :)
Regards
Last edited: