play phryzby with physics

A Bat's Call Reflected off Water

solved TravellingWave

Q. A bat emits ultrasonic sound of frequency 1000 kHzνc=1000kHz in air. Speed of sound in air is 340 m/svc=340m/s. If the sound meets a water surface, what is the wavelength of the reflected soundνe=νc, ve=vc, in metres?

λv = 340 m/sf = 1×10⁶ Hz
Inputs
νc
1000 kHz
vc
340.0 m/s
Outputs
wavelengthλe?

How it's solved

Solved with TravellingWave

Given

  • νc=1000kHz
  • vc=340m/s
  • νe=νc from “the reflected sound”
  • ve=vc from “the reflected sound”

Find λe.

Working
  1. νc=1000kHz=1×106Hz
  2. the reflected sound (wave speed of echo)ve=vc
  3. ve=340
  4. ve=340m/s
  5. the reflected sound (frequency of echo)νe=νc
  6. νe=1×106
  7. νe=1×106Hz
  8. speed of a wave(echo)ve=νe⋅λe
  9. 340=1×106⋅λe
  10. λe=3.4×10−4m
  11. λe≈3.4×10−4mto 2 significant figures
Conclusion

The reflected sound goes back into the same air at the same frequency, so its wavelength is the speed in air over that frequency.

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_bat_s_call_reflected_off_water do4  kind :numerical5  describes "A bat emits ultrasonic sound of frequency %{frequency} in air. Speed of sound in air is %{speed}. If " \6            "the sound meets a water surface, %{wavelength}, in metres?"7  given frequency: "1000 kHz"8  given speed: "340 m/s"9  asks wavelength: "what is the wavelength of the reflected sound"10end
solution.rb
1require_relative "../questions/a_bat_s_call_reflected_off_water"2require_relative "../science/waves/travelling_wave"34solve :a_bat_s_call_reflected_off_water, using: TravellingWave do5  objects :call, :echo67  take frequency: call.frequency8  take speed: call.wave_speed910  deduce_from "the reflected sound", echo.frequency => call.frequency, echo.wave_speed => call.wave_speed1112  wavelength = echo.wavelength13  answer wavelength:, in: "m", figures: 21415  conclusion "The reflected sound goes back into the same air at the same frequency, so its wavelength is the " \16             "speed in air over that frequency."17end
playground.rb
1require_relative "../solutions/a_bat_s_call_reflected_off_water"23play_with :a_bat_s_call_reflected_off_water do4  title "A Bat's Call Reflected off Water"5end
The laws it drew on
quantitywrittenunitswithinfrom
piπ—0 … ∞TravellingWave
amplitudeam—TravellingWave
wave numberkm⁻¹—TravellingWave
angular frequencyωrad/s—TravellingWave
wavelengthλm0 … ∞TravellingWave
periodTs—TravellingWave
frequencyνHz0 … ∞TravellingWave
wave speedvm/s—TravellingWave
separationΔxm—TravellingWave
phase differenceΔφ——TravellingWave
wave number of groundkgm⁻¹—
wavelength of groundλgm0 … ∞
wave number of callkcm⁻¹—
wavelength of callλcm0 … ∞
wave number of echokem⁻¹—
wavelength of echoλem0 … ∞
angular frequency of groundωgrad/s—
period of groundTgs—
angular frequency of callωcrad/s—
period of callTcs—
angular frequency of echoωerad/s—
period of echoTes—
frequency of groundνgHz0 … ∞
frequency of callνcHz0 … ∞
frequency of echoνeHz0 … ∞
wave speed of groundvgm/s—
wave speed of callvcm/s—
wave speed of echovem/s—
phase difference of groundΔφg——
separation of groundΔxgm—
phase difference of callΔφc——
separation of callΔxcm—
phase difference of echoΔφe——
separation of echoΔxem—
amplitude of callacm—
amplitude of echoaem—
kw=2⋅πλw
wave number and wavelength
ωw=2⋅πTw
angular frequency and period
νw=1Tw
frequency and period
vw=νw⋅λw
speed of a wave
Δφw=kw⋅Δxw
phase across a separation
kg=2⋅πλg
wave number and wavelength(ground)
kc=2⋅πλc
wave number and wavelength(call)
ke=2⋅πλe
wave number and wavelength(echo)
ωg=2⋅πTg
angular frequency and period(ground)
ωc=2⋅πTc
angular frequency and period(call)
ωe=2⋅πTe
angular frequency and period(echo)
νg=1Tg
frequency and period(ground)
νc=1Tc
frequency and period(call)
νe=1Te
frequency and period(echo)
vg=νg⋅λg
speed of a wave(ground)
vc=νc⋅λc
speed of a wave(call)
ve=νe⋅λe
speed of a wave(echo)
Δφg=kg⋅Δxg
phase across a separation(ground)
Δφc=kc⋅Δxc
phase across a separation(call)
Δφe=ke⋅Δxe
phase across a separation(echo)
νe=νc
the reflected sound (frequency of echo)
ve=vc
the reflected sound (wave speed of echo)