A Pipe Open at Both Ends
Q. A pipe, 30.0 cmcm long, is open at both ends. Taking the speed of sound in air as 330 m/sm/s, which harmonic mode of the pipe resonates a 1.1 kHzkHz source?
Inputs
Outputs
harmonic?
How it's solved
Solved with StandingWaves
Given
- cm
- m/s
- kHz
Find .
Working
- cmm
- kHzHz
- harmonics of a pipe open at both ends(pipe)
- to 2 significant figures
Conclusion
An open pipe sounds every whole multiple of its fundamental, the speed over twice its length; the source is twice that fundamental.
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 :a_pipe_open_at_both_ends do4 kind :numerical5 describes "A pipe, %{length} long, is open at both ends. Taking the speed of sound in air as %{speed}, " \6 "%{harmonic} a %{source} source?"7 given length: "30.0 cm"8 given speed: "330 m/s"9 given source: "1.1 kHz"10 asks harmonic: "which harmonic mode of the pipe resonates"11end1require_relative "../questions/a_pipe_open_at_both_ends"2require_relative "../science/waves/standing_waves"34solve :a_pipe_open_at_both_ends, using: StandingWaves do5 objects :pipe67 take length: pipe.length_of_the_pipe8 take speed: v9 take source: pipe.frequency1011 harmonic = pipe.harmonic12 answer harmonic:, figures: 21314 conclusion "An open pipe sounds every whole multiple of its fundamental, the speed over twice its " \15 "length; the source is twice that fundamental."16endplayground.rb
1require_relative "../solutions/a_pipe_open_at_both_ends"23play_with :a_pipe_open_at_both_ends do4 title "A Pipe Open at Both Ends"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| speed of sound | m/s | — | StandingWaves | |
| length of the pipe | m | — | StandingWaves | |
| harmonic | — | — | StandingWaves | |
| frequency | Hz | 0 … ∞ | StandingWaves | |
| frequency of ground | Hz | 0 … ∞ | ||
| harmonic of ground | — | — | ||
| length of the pipe of ground | m | — | ||
| frequency of pipe | Hz | 0 … ∞ | ||
| harmonic of pipe | — | — | ||
| length of the pipe of pipe | m | — |