Two Sitar Strings
Q. Two sitar strings A and B playing the note 'Dha' are slightly out of tune and produce beats of frequency 5 HzHz. The tension of the string B is slightly increased and the beat frequency is found to decrease to 3 HzHz. What is the original frequency of B if the frequency of A is 427 HzHz, in hertz?
Inputs
Outputs
frequency?
How it's solved
Solved with Beats
Given
- Hz
- Hz
- Hz
Find .
Working
- beats of two sounds(a, b)
- Hz
Conclusion
Tightening B raises its frequency; since the beats then slow down, B was moving towards A from below, so A beats against B from above.
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.
1require_relative "../physics"23question :two_sitar_strings do4 kind :numerical5 describes "Two sitar strings A and B playing the note 'Dha' are slightly out of tune and produce beats of frequency " \6 "%{beats}. The tension of the string B is slightly increased and the beat frequency is found to decrease " \7 "to %{fewer_beats}. %{frequency} if the frequency of A is %{frequency_a}, in hertz?"8 given beats: "5 Hz"9 given fewer_beats: "3 Hz"10 given frequency_a: "427 Hz"11 asks frequency: "What is the original frequency of B"12end1require_relative "../questions/two_sitar_strings"2require_relative "../science/waves/beats"34solve :two_sitar_strings, using: Beats do5 objects :a, :b, :tightened_b67 take frequency_a: a.frequency8 take beats: a.beat_frequency(by: b)9 take fewer_beats: a.beat_frequency(by: tightened_b)1011 frequency = b.frequency12 answer frequency:, in: "Hz"1314 conclusion "Tightening B raises its frequency; since the beats then slow down, B was moving towards A " \15 "from below, so A beats against B from above."16endplayground.rb
1require_relative "../solutions/two_sitar_strings"23play_with :two_sitar_strings do4 title "Two Sitar Strings"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| frequency | Hz | 0 … ∞ | Beats | |
| beat frequency | Hz | — | Beats | |
| beat frequency of ground by a | Hz | — | ||
| frequency of ground | Hz | 0 … ∞ | ||
| frequency of a | Hz | 0 … ∞ | ||
| beat frequency of ground by b | Hz | — | ||
| frequency of b | Hz | 0 … ∞ | ||
| beat frequency of ground by tightened b | Hz | — | ||
| frequency of tightened b | Hz | 0 … ∞ | ||
| beat frequency of a by ground | Hz | — | ||
| beat frequency of a by b | Hz | — | ||
| beat frequency of a by tightened b | Hz | — | ||
| beat frequency of b by ground | Hz | — | ||
| beat frequency of b by a | Hz | — | ||
| beat frequency of b by tightened b | Hz | — | ||
| beat frequency of tightened b by ground | Hz | — | ||
| beat frequency of tightened b by a | Hz | — | ||
| beat frequency of tightened b by b | Hz | — |