A Pipe Closed at One End
Q. A pipe 20 cmcm long is closed at one end. The speed of sound in air is 340 m/sm/s. Which harmonic mode of the pipe is resonantly excited by a 430 HzHz source?
Inputs
Outputs
harmonic?
How it's solved
Solved with ClosedPipe
Given
- cm
- m/s
- Hz
Find .
Working
- cmm
- harmonics of a pipe closed at one end(pipe)
- to 1 significant figure
Conclusion
A pipe closed at one end sounds only odd multiples of its fundamental, the speed over four times its length; the source matches 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_closed_at_one_end do4 kind :numerical5 describes "A pipe %{length} long is closed at one end. The speed of sound in air is %{speed}. %{harmonic} a " \6 "%{source} source?"7 given length: "20 cm"8 given speed: "340 m/s"9 given source: "430 Hz"10 asks harmonic: "Which harmonic mode of the pipe is resonantly excited by"11end1require_relative "../questions/a_pipe_closed_at_one_end"2require_relative "../science/waves/closed_pipe"34solve :a_pipe_closed_at_one_end, using: ClosedPipe do5 objects :pipe67 take length: pipe.length_of_the_pipe8 take speed: v9 take source: pipe.frequency1011 harmonic = pipe.harmonic12 answer harmonic:, figures: 11314 conclusion "A pipe closed at one end sounds only odd multiples of its fundamental, the speed over four times " \15 "its length; the source matches that fundamental."16endplayground.rb
1require_relative "../solutions/a_pipe_closed_at_one_end"23play_with :a_pipe_closed_at_one_end do4 title "A Pipe Closed at One End"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| speed of sound | m/s | — | ClosedPipe | |
| length of the pipe | m | — | ClosedPipe | |
| harmonic | — | — | ClosedPipe | |
| frequency | Hz | 0 … ∞ | ClosedPipe | |
| 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 | — |