play phryzby with physics

An Ultrasonic Scanner

solved TravellingWave

Q. A hospital uses an ultrasonic scanner to locate tumours in a tissue. The operating frequency of the scanner is 4.2 MHzν=4.2MHz. What is the wavelength of sound in the tissue in which the speed of sound is 1.7 km/sv=1.7km/s, in metres?

λ = ?v = 1700 m/sf = 4.2×10⁶ Hz
Inputs
v
1.7 km/s
ν
4.2 MHz
Outputs
wavelengthλ?

How it's solved

Solved with TravellingWave

Given

  • v=1.7km/s
  • ν=4.2MHz

Find λ.

Working
  1. v=1.7km/s=1700m/s
  2. ν=4.2MHz=4.2×106Hz
  3. speed of a wave(sound)v=ν⋅λ
  4. 1700=4.2×106⋅λ
  5. λ=4.048×10−4m
  6. λ≈4.0×10−4mto 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.

question.rb
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"10end
solution.rb
1require_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."15end
playground.rb
1require_relative "../solutions/an_ultrasonic_scanner"23play_with :an_ultrasonic_scanner do4  title "An Ultrasonic Scanner"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 soundkm⁻¹—
wavelength of soundλm0 … ∞
angular frequency of groundωgrad/s—
period of groundTgs—
angular frequency of soundωrad/s—
period of soundTs—
frequency of groundνgHz0 … ∞
frequency of soundνHz0 … ∞
wave speed of groundvgm/s—
wave speed of soundvm/s—
phase difference of groundΔφg——
separation of groundΔxgm—
phase difference of soundΔφ——
separation of soundΔxm—
amplitude of soundam—
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)
k=2⋅πλ
wave number and wavelength(sound)
ωg=2⋅πTg
angular frequency and period(ground)
ω=2⋅πT
angular frequency and period(sound)
νg=1Tg
frequency and period(ground)
ν=1T
frequency and period(sound)
vg=νg⋅λg
speed of a wave(ground)
v=ν⋅λ
speed of a wave(sound)
Δφg=kg⋅Δxg
phase across a separation(ground)
Δφ=k⋅Δx
phase across a separation(sound)