play phryzby with physics

A Harmonic Wave's Frequency

solved TravellingWave

Q. A transverse harmonic wave on a string is described by y(x, t) = 3.0 sin (36 tω=36rad/s + 0.018 x + π/4) where x and y are in cm and t in s. What is its frequency, in hertz?

f = ?ω = 36 rad/s
Outputs
frequencyν?

How it's solved

Solved with TravellingWave

Given

  • ω=36rad/s from “36 t”

Find ν.

Working
  1. angular frequency and period(wave)ω=2⋅πT
  2. 36=2⋅3.14159265T
  3. T=0.174532925s
  4. frequency and period(wave)ν=1T
  5. ν=10.174532925
  6. ν=5.73Hz
  7. ν≈5.7Hzto 2 significant figures
Conclusion

The number multiplying t is the angular frequency, radians of phase each second; a full turn of phase is one oscillation.

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_harmonic_wave_s_frequency do4  kind :numerical5  describes "A transverse harmonic wave on a string is described by y(x, t) = 3.0 sin (36 t + 0.018 x + π/4) where x " \6            "and y are in cm and t in s. %{frequency}, in hertz?"7  asks frequency: "What is its frequency"8end
solution.rb
1require_relative "../questions/a_harmonic_wave_s_frequency"2require_relative "../science/waves/travelling_wave"34solve :a_harmonic_wave_s_frequency, using: TravellingWave do5  objects :wave67  deduce_from "36 t", wave.angular_frequency => "36 rad/s"89  frequency = wave.frequency10  answer frequency:, in: "Hz", figures: 21112  conclusion "The number multiplying t is the angular frequency, radians of phase each second; a full turn of " \13             "phase is one oscillation."14end
playground.rb
1require_relative "../solutions/a_harmonic_wave_s_frequency"23play_with :a_harmonic_wave_s_frequency do4  title "A Harmonic Wave's Frequency"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 wavekm⁻¹—
wavelength of waveλm0 … ∞
angular frequency of groundωgrad/s—
period of groundTgs—
angular frequency of waveωrad/s—
period of waveTs—
frequency of groundνgHz0 … ∞
frequency of waveνHz0 … ∞
wave speed of groundvgm/s—
wave speed of wavevm/s—
phase difference of groundΔφg——
separation of groundΔxgm—
phase difference of waveΔφ——
separation of waveΔxm—
amplitude of waveam—
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(wave)
ωg=2⋅πTg
angular frequency and period(ground)
ω=2⋅πT
angular frequency and period(wave)
νg=1Tg
frequency and period(ground)
ν=1T
frequency and period(wave)
vg=νg⋅λg
speed of a wave(ground)
v=ν⋅λ
speed of a wave(wave)
Δφg=kg⋅Δxg
phase across a separation(ground)
Δφ=k⋅Δx
phase across a separation(wave)