Fourier Analysis: Calculating 2nd Harmonic

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
gaz1984
Messages
1
Reaction score
0
All, I'm having some problems with a Fourier analysis I am doing as a coursework, we have been given waves with multiple functions to try and work out the harmonics of them.
My three functions are:
f1 = -5sin (2*pi*t) - sin wave part
f2 = 21.74t-32.61 - straight line part
f3 = 0 - horizontal straight line part

I have worked out A0 using MATLAB and then manually to check the answer.

My problem is that I need to pick a certain harmonic to work out manually to check the MATLAB answer with, i picked the 2nd harmonic.

To work out A2 i get the equations:

1/pi (-5sin(2*pi*t)cos(4*pi*t)) when 0.73 < t < 1.27
1/pi (21.74t*cos(4*pi*t)-32.61cos(4*pi*t)) when 1.27 < t < 1.5

Can anyone help with what I am supposed to do next?
Thanks
 
Physics news on Phys.org