Find the Fourier Series of the Function

CptJackWest
Messages
8
Reaction score
0

Homework Statement



For the function f(t)={t+2, -2<t<0
{2, 0<t<2
{f(t+4) all t

Homework Equations


a(n)=2/T*Integration[f(t)cos(n*w*t)dt]

b(n)=2/T*Integration[f(t)sin(n*w*t)dt]

xcos(ax)= 1/a^2(cos(ax)+ax*sin(ax))

The Attempt at a Solution


T=4
w=2*pi/T
w=pi/2


a(n)=2/T*Integration[f(t)cos(n*w*t)dt]
a(n)=2/4*Integration[(t+2)cos((n*pi*t)/2)dt + 2/4*Integration[2cos((n*pi*t)/2)dt]]


That is as far as i got.
I know the next step is to integrate each term with respect to t, but not sure what to do with the (t+2) out the front. We were told to use the formula sheet and replace ( this the third formula above). Any help would be great
Cheers, Jack
 
Physics news on Phys.org
Hi Jack! :smile:

(have a pi: π and an omega: ω and an integral: ∫ :wink:)
CptJackWest said:
xcos(ax)= 1/a^2(cos(ax)+ax*sin(ax))

… not sure what to do with the (t+2) out the front. We were told to use the formula sheet and replace ( this the third formula above).

Now find the equivalent formula for xsin(ax) :wink:
 
Thanks for the help,
equivalent formula for xsin(ax)= 1/a^2(sin(ax)+ax*cos(ax))
But what do i do with the t+2 out the front of the cos((n*pi*t)/2).
That is the bit i need help with!
 
Write x instead of t and use the formula! :smile:
 
But won't it integrate differently because it is in the formula x is the same inside the cos as well as in front. But in my equation I have a t and a t+2.


xcos(ax)= 1/a^2(cos(ax)+ax*sin(ax))
| |


a(n)=2/4*Integration[(t+2)cos((n*pi*t)/2)dt + 2/4*Integration[2cos((n*pi*t)/2)dt]]
| |
 
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