fourier coefficients of a square wave

Thread Starter

jstrike21

Joined Sep 24, 2009
104
I was given fundamental period Fo=4s so this means Wo=pi/2.
Then , x(t)={1, 0<t<2 and 2, 2<t<4
x(t) is periodic.
I plotted the sine wave now i have to write the formula for the fourier coefficients Ak and compute A0, A1, and A2.

Im not sure how to get a formula for x(t).
help please
 

GirishC

Joined Jan 23, 2009
58
ak = (1/T0) <0> I <2> e^-jwt dt
= (1/T0)* [(1/-jw)* e^-jwt] <0> to <2>
= (1/-jwT0) [e^0 + e^-2jw]

and you can solve further to get cosine and sine terms
 
Top