A Bat's Call Reflected off Water
Q. A bat emits ultrasonic sound of frequency 1000 kHzkHz in air. Speed of sound in air is 340 m/sm/s. If the sound meets a water surface, what is the wavelength of the reflected sound, , in metres?
Inputs
Outputs
wavelength?
How it's solved
Solved with TravellingWave
Given
- kHz
- m/s
- from “the reflected sound”
- from “the reflected sound”
Find .
Working
- kHzHz
- the reflected sound (wave speed of echo)
- m/s
- the reflected sound (frequency of echo)
- Hz
- speed of a wave(echo)
- m
- mto 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.
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"10end1require_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."17endplayground.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"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| pi | — | 0 … ∞ | TravellingWave | |
| amplitude | m | — | TravellingWave | |
| wave number | m⁻¹ | — | TravellingWave | |
| angular frequency | rad/s | — | TravellingWave | |
| wavelength | m | 0 … ∞ | TravellingWave | |
| period | s | — | TravellingWave | |
| frequency | Hz | 0 … ∞ | TravellingWave | |
| wave speed | m/s | — | TravellingWave | |
| separation | m | — | TravellingWave | |
| phase difference | — | — | TravellingWave | |
| wave number of ground | m⁻¹ | — | ||
| wavelength of ground | m | 0 … ∞ | ||
| wave number of call | m⁻¹ | — | ||
| wavelength of call | m | 0 … ∞ | ||
| wave number of echo | m⁻¹ | — | ||
| wavelength of echo | m | 0 … ∞ | ||
| angular frequency of ground | rad/s | — | ||
| period of ground | s | — | ||
| angular frequency of call | rad/s | — | ||
| period of call | s | — | ||
| angular frequency of echo | rad/s | — | ||
| period of echo | s | — | ||
| frequency of ground | Hz | 0 … ∞ | ||
| frequency of call | Hz | 0 … ∞ | ||
| frequency of echo | Hz | 0 … ∞ | ||
| wave speed of ground | m/s | — | ||
| wave speed of call | m/s | — | ||
| wave speed of echo | m/s | — | ||
| phase difference of ground | — | — | ||
| separation of ground | m | — | ||
| phase difference of call | — | — | ||
| separation of call | m | — | ||
| phase difference of echo | — | — | ||
| separation of echo | m | — | ||
| amplitude of call | m | — | ||
| amplitude of echo | m | — |