How to calculate a harmonic of a square wave

AI Thread Summary
To calculate the 5th harmonic of a square wave with a fundamental frequency of 200Hz, the correct formula is 1/9 * sin(2 * π * 9F * t), where F is the fundamental frequency. The harmonic frequencies are determined by the relationship fn = n*f1, meaning the 5th harmonic corresponds to 9 times the fundamental frequency. The variable 't' represents time in the sinusoidal function. Additionally, a factor of 4/π is necessary to achieve a square wave of unity amplitude.
bigfattyfatfat
Messages
2
Reaction score
0
Hi,

I'm a bit of a newbie to additive synthesis.. I just want to clarify that I am doing the correct calculation before continuing.

If I wanted to calculate the 5th harmonic of a square wave (the fundamental freq. being 200Hz and the amplitude of the fundamental being 1)

would the calculation be

1/5 * sin (2 * 3.14 * 1000) =

?

Thanks in advance
 
Physics news on Phys.org
there's a 4/pi and a "t" missing in there somewhere ...

other than that, yes.
 
Thanks.

Actually I've just realized the 5th harmonic would be 9, so it would be

1/9 * sin (2 * 3.14 * 9F * t) =

But do you know what the 't' is equal to?

Thanks
 
bigfattyfatfat said:
Thanks.

Actually I've just realized the 5th harmonic would be 9, so it would be

1/9 * sin (2 * 3.14 * 9F * t) =

But do you know what the 't' is equal to?

Thanks

No, convention is that the nth harmonic is harmonically related to the first (the fundamental) by fn = n*f1.

"t" is time. You have a square wave that is a summation of harmonics, each of which is also a function of time (a sinusoidal one).

You still don't have a 4/π in your formulas ... you need it to get a square wave of unity amplitude.
 
I multiplied the values first without the error limit. Got 19.38. rounded it off to 2 significant figures since the given data has 2 significant figures. So = 19. For error I used the above formula. It comes out about 1.48. Now my question is. Should I write the answer as 19±1.5 (rounding 1.48 to 2 significant figures) OR should I write it as 19±1. So in short, should the error have same number of significant figures as the mean value or should it have the same number of decimal places as...
Thread 'Collision of a bullet on a rod-string system: query'
In this question, I have a question. I am NOT trying to solve it, but it is just a conceptual question. Consider the point on the rod, which connects the string and the rod. My question: just before and after the collision, is ANGULAR momentum CONSERVED about this point? Lets call the point which connects the string and rod as P. Why am I asking this? : it is clear from the scenario that the point of concern, which connects the string and the rod, moves in a circular path due to the string...
Thread 'A cylinder connected to a hanging mass'
Let's declare that for the cylinder, mass = M = 10 kg Radius = R = 4 m For the wall and the floor, Friction coeff = ##\mu## = 0.5 For the hanging mass, mass = m = 11 kg First, we divide the force according to their respective plane (x and y thing, correct me if I'm wrong) and according to which, cylinder or the hanging mass, they're working on. Force on the hanging mass $$mg - T = ma$$ Force(Cylinder) on y $$N_f + f_w - Mg = 0$$ Force(Cylinder) on x $$T + f_f - N_w = Ma$$ There's also...
Back
Top