Calculating Fourier Series for an Odd Function

1 reply · 2K views · last reply
ganondorf29
Messages
49
Reaction score
0

Homework Statement



f(t) is given as:

from 0 to 0.2s, f(t) = 5
from 0.2s to 0.6s, f(t) = 0
from 0.6s to 0.8s, f(t) = 5,
etc

Homework Equations


for an odd function

a0 = 2/p * integral(from -p/2 to p/2) of f(t) dt

bn = 4/p * integral(from 0 to p/2) of f(t)*sin(2*pi*n*t/p) dt

The Attempt at a Solution



The problem is that since the function is "off" for a longer period than it is "on"; I'm not sure how to incorporate that into the Fourier Series, especially the bn term
 
The function f(t) is neither odd nor even, so you have to use the general formulas for the coefficients, both the a's and b's.