- #1

- 54

- 0

## Homework Statement

{ 0 -pi < t < 0

E(t) =

{ sin(t) 0 < t < pi

Find the fourier series

w = 1, T = 2pi, L = pi

a

_{0}= 1/(2L) integral(-L to L) f(t) dt

a

_{n}= 1/(L) integral(-L to L) f(t)cos(nwt)dt n = 1,2,3...

b

_{n}= 1/(L) integral(-L to L) f(t)sin(nwt)dt n = 1,2,3...

## The Attempt at a Solution

now im able to find a

_{0}but cannot find a

_{n}. Im stuck at integrating

a

_{n}= (1/pi)*integral(0 to pi) sin(t)cos(nt) dt ***

because of the "n" in the "cos" i cannot find the integral, first glance i though integration by parts but that just swaps the sin and cos's around. Than ive looked at the double angle rules and since "n" changes i figured i couldnt apply either since n = 1,2,3.... etc

Any idea where to go in order to integrate it ?***

b

_{n}is the same problem once i figure out how to integrate it, it should work out nicely

Thanks in advance TRENT