How to calculate a harmonic of a square wave

Click For 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.
 
The book claims the answer is that all the magnitudes are the same because "the gravitational force on the penguin is the same". I'm having trouble understanding this. I thought the buoyant force was equal to the weight of the fluid displaced. Weight depends on mass which depends on density. Therefore, due to the differing densities the buoyant force will be different in each case? Is this incorrect?

Similar threads

  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 4 ·
Replies
4
Views
1K
Replies
5
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 11 ·
Replies
11
Views
5K
Replies
4
Views
2K
Replies
3
Views
839
  • · Replies 8 ·
Replies
8
Views
2K
Replies
14
Views
2K