A Bat's Call into Water
Q. A bat emits ultrasonic sound of frequency 1000 kHzkHz in air. Speed of sound in water is 1486 m/sm/s. If the sound meets a water surface, what is the wavelength of the transmitted sound, in metres?
Inputs
Outputs
wavelength?
How it's solved
Solved with TravellingWave
Given
- kHz
- m/s
- from “meets a water surface”
Find .
Working
- kHzHz
- meets a water surface
- Hz
- speed of a wave(transmitted)
- m
- mto 3 significant figures
Conclusion
Crossing into water the sound keeps the frequency it was made with but runs faster, so each wave stretches longer in the same proportion.
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_into_water do4 kind :numerical5 describes "A bat emits ultrasonic sound of frequency %{frequency} in air. Speed of sound in water is %{speed}. If " \6 "the sound meets a water surface, %{wavelength}, in metres?"7 given frequency: "1000 kHz"8 given speed: "1486 m/s"9 asks wavelength: "what is the wavelength of the transmitted sound"10end1require_relative "../questions/a_bat_s_call_into_water"2require_relative "../science/waves/travelling_wave"34solve :a_bat_s_call_into_water, using: TravellingWave do5 objects :call, :transmitted67 take frequency: call.frequency8 take speed: transmitted.wave_speed910 deduce_from "meets a water surface", transmitted.frequency => call.frequency1112 wavelength = transmitted.wavelength13 answer wavelength:, in: "m", figures: 31415 conclusion "Crossing into water the sound keeps the frequency it was made with but runs faster, so each wave " \16 "stretches longer in the same proportion."17endplayground.rb
1require_relative "../solutions/a_bat_s_call_into_water"23play_with :a_bat_s_call_into_water do4 title "A Bat's Call into 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 transmitted | m⁻¹ | — | ||
| wavelength of transmitted | 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 transmitted | rad/s | — | ||
| period of transmitted | s | — | ||
| frequency of ground | Hz | 0 … ∞ | ||
| frequency of call | Hz | 0 … ∞ | ||
| frequency of transmitted | Hz | 0 … ∞ | ||
| wave speed of ground | m/s | — | ||
| wave speed of call | m/s | — | ||
| wave speed of transmitted | m/s | — | ||
| phase difference of ground | — | — | ||
| separation of ground | m | — | ||
| phase difference of call | — | — | ||
| separation of call | m | — | ||
| phase difference of transmitted | — | — | ||
| separation of transmitted | m | — | ||
| amplitude of call | m | — | ||
| amplitude of transmitted | m | — |