play phryzby with physics

A Pipe Closed at One End

solved ClosedPipe

Q. A pipe 20 cmL=20cm long is closed at one end. The speed of sound in air is 340 m/sv=340m/s. Which harmonic mode of the pipe is resonantly excited by a 430 Hzν=430Hz source?

L = 0.2 mn = ?v = 340 m/sf = 430 Hz
Inputs
L
20 cm
v
340.0 m/s
ν
430 Hz
Outputs
harmonicn?

How it's solved

Solved with ClosedPipe

Given

  • L=20cm
  • v=340m/s
  • ν=430Hz

Find n.

Working
  1. L=20cm=0.2m
  2. harmonics of a pipe closed at one end(pipe)ν=n⋅v4⋅L
  3. 430=n⋅3404⋅0.2
  4. n=1.01176471
  5. n≈1to 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.

question.rb
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"11end
solution.rb
1require_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."16end
playground.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"5end
The laws it drew on
quantitywrittenunitswithinfrom
speed of soundvm/s—ClosedPipe
length of the pipeLm—ClosedPipe
harmonicn——ClosedPipe
frequencyνHz0 … ∞ClosedPipe
frequency of groundνgHz0 … ∞
harmonic of groundng——
length of the pipe of groundLgm—
frequency of pipeνHz0 … ∞
harmonic of pipen——
length of the pipe of pipeLm—
νp=np⋅v4⋅Lp
harmonics of a pipe closed at one end
νg=ng⋅v4⋅Lg
harmonics of a pipe closed at one end(ground)
ν=n⋅v4⋅L
harmonics of a pipe closed at one end(pipe)