How Do You Calculate the Fourier Series for a Piecewise Function?

toiletbowl86
Messages
2
Reaction score
0
can anyone help me solve this question?

find the Fourier series for the function

f(x)= -2-x for -2<x<0 and
f(x)= 2-x for 0<x<2

and f(x+4)=f(x)thank you very much
 
Physics news on Phys.org
What is the problem you are having, this shouldn't be a hard function to find the Fourier series for.
 
problem is my math sucks...i know it is not hard,i just learned it but I am blur.and yea my math suck.thats the main point.
 
compute an, bn, a0 and put in the formula for finding the series. it should be easy.
 
Last edited:
I suspect this is homework so I'm moving it.

toiletbowl86 (!) you must be able to do something show us what you have done if only putting the function into the formulas for the coefficients.

murshid-islam, I guess that an and bn are the sine and cosine coefficients. Is cn the coefficients for the exponential series?
 
HallsofIvy said:
murshid-islam, I guess that an and bn are the sine and cosine coefficients. Is cn the coefficients for the exponential series?
sorry, i meant: a0.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top