An Ultrasonic Scanner
Q. A hospital uses an ultrasonic scanner to locate tumours in a tissue. The operating frequency of the scanner is 4.2 MHzMHz. What is the wavelength of sound in the tissue in which the speed of sound is 1.7 km/skm/s, in metres?
Inputs
Outputs
wavelength?
How it's solved
Solved with TravellingWave
Given
- km/s
- MHz
Find .
Working
- km/sm/s
- MHzHz
- speed of a wave(sound)
- m
- mto 2 significant figures
Conclusion
Each wave travels one wavelength in one period, so the wavelength is the speed in the tissue over the frequency of the scanner.
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 :an_ultrasonic_scanner do4 kind :numerical5 describes "A hospital uses an ultrasonic scanner to locate tumours in a tissue. The operating frequency of the " \6 "scanner is %{frequency}. %{wavelength} in which the speed of sound is %{speed}, in metres?"7 given speed: "1.7 km/s"8 given frequency: "4.2 MHz"9 asks wavelength: "What is the wavelength of sound in the tissue"10end1require_relative "../questions/an_ultrasonic_scanner"2require_relative "../science/waves/travelling_wave"34solve :an_ultrasonic_scanner, using: TravellingWave do5 objects :sound67 take speed: sound.wave_speed8 take frequency: sound.frequency910 wavelength = sound.wavelength11 answer wavelength:, in: "m", figures: 21213 conclusion "Each wave travels one wavelength in one period, so the wavelength is the speed in the tissue over " \14 "the frequency of the scanner."15endplayground.rb
1require_relative "../solutions/an_ultrasonic_scanner"23play_with :an_ultrasonic_scanner do4 title "An Ultrasonic Scanner"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 sound | m⁻¹ | — | ||
| wavelength of sound | m | 0 … ∞ | ||
| angular frequency of ground | rad/s | — | ||
| period of ground | s | — | ||
| angular frequency of sound | rad/s | — | ||
| period of sound | s | — | ||
| frequency of ground | Hz | 0 … ∞ | ||
| frequency of sound | Hz | 0 … ∞ | ||
| wave speed of ground | m/s | — | ||
| wave speed of sound | m/s | — | ||
| phase difference of ground | — | — | ||
| separation of ground | m | — | ||
| phase difference of sound | — | — | ||
| separation of sound | m | — | ||
| amplitude of sound | m | — |