play phryzby with physics

Two Sitar Strings Playing Ga

solved Beats

Q. Two sitar strings A and B playing the note ‘Ga’ are slightly out of tune and produce beats of frequency 6 Hzνbeat,ab=6Hz. The tension in the string A is slightly reduced and the beat frequency is found to reduce to 3 Hzνbeat,sb=3Hz. If the original frequency of A is 324 Hzνa=324Hz, what is the frequency of B, in hertz?

beats = 6 Hzf_a = 324 Hzf_b = ?
Inputs
νbeat,ab
6 Hz
νbeat,sb
3 Hz
νa
324 Hz
Outputs
frequencyνb?

How it's solved

Solved with Beats

Given

  • νa=324Hz
  • νbeat,ab=6Hz
  • νbeat,sb=3Hz

Find νb.

Working
  1. beats of two sounds(a, b)νbeat,ab=νa-νb
  2. 6=324-νb
  3. νb=318Hz
Conclusion

Slackening A lowers its frequency; since the beats then slow down, A was coming down towards B from above, so B lies below A.

The web of concepts

given read from the words equation asked

The Ruby that solves it

The question and its solution are small Ruby files. The engine runs them.

question.rb
1require_relative "../physics"23question :two_sitar_strings_playing_ga do4  kind :numerical5  describes "Two sitar strings A and B playing the note ‘Ga’ are slightly out of tune and produce beats of frequency " \6            "%{beats}. The tension in the string A is slightly reduced and the beat frequency is found to reduce to " \7            "%{fewer_beats}. If the original frequency of A is %{frequency_a}, %{frequency}, in hertz?"8  given beats: "6 Hz"9  given fewer_beats: "3 Hz"10  given frequency_a: "324 Hz"11  asks frequency: "what is the frequency of B"12end
solution.rb
1require_relative "../questions/two_sitar_strings_playing_ga"2require_relative "../science/waves/beats"34solve :two_sitar_strings_playing_ga, using: Beats do5  objects :a, :b, :slackened_a67  take frequency_a: a.frequency8  take beats: a.beat_frequency(by: b)9  take fewer_beats: slackened_a.beat_frequency(by: b)1011  frequency = b.frequency12  answer frequency:, in: "Hz"1314  conclusion "Slackening A lowers its frequency; since the beats then slow down, A was coming down towards B " \15             "from above, so B lies below A."16end
playground.rb
1require_relative "../solutions/two_sitar_strings_playing_ga"23play_with :two_sitar_strings_playing_ga do4  title "Two Sitar Strings Playing Ga"5end
The laws it drew on
quantitywrittenunitswithinfrom
frequencyνHz0 … ∞Beats
beat frequencyνbeatHz—Beats
beat frequency of ground by aνbeat,gaHz—
frequency of groundνgHz0 … ∞
frequency of aνaHz0 … ∞
beat frequency of ground by bνbeat,gbHz—
frequency of bνbHz0 … ∞
beat frequency of ground by slackened aνbeat,gsHz—
frequency of slackened aνsHz0 … ∞
beat frequency of a by groundνbeat,agHz—
beat frequency of a by bνbeat,abHz—
beat frequency of a by slackened aνbeat,asHz—
beat frequency of b by groundνbeat,bgHz—
beat frequency of b by aνbeat,baHz—
beat frequency of b by slackened aνbeat,bsHz—
beat frequency of slackened a by groundνbeat,sgHz—
beat frequency of slackened a by aνbeat,saHz—
beat frequency of slackened a by bνbeat,sbHz—
νbeat,oo=νo-νo
beats of two sounds
νbeat,ga=νg-νa
beats of two sounds(ground, a)
νbeat,gb=νg-νb
beats of two sounds(ground, b)
νbeat,gs=νg-νs
beats of two sounds(ground, slackened a)
νbeat,ag=νa-νg
beats of two sounds(a, ground)
νbeat,ab=νa-νb
beats of two sounds(a, b)
νbeat,as=νa-νs
beats of two sounds(a, slackened a)
νbeat,bg=νb-νg
beats of two sounds(b, ground)
νbeat,ba=νb-νa
beats of two sounds(b, a)
νbeat,bs=νb-νs
beats of two sounds(b, slackened a)
νbeat,sg=νs-νg
beats of two sounds(slackened a, ground)
νbeat,sa=νs-νa
beats of two sounds(slackened a, a)
νbeat,sb=νs-νb
beats of two sounds(slackened a, b)