- #1
CptJackWest
- 10
- 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