play phryzby with physics

A Wave Along a String

solved TravellingWave

Q. A wave travelling along a string is described by y(x, t) = 0.005 sin(80.0 x – 3.0 t), in which the numerical constants are in SI units (0.005 m, 80.0 rad/mk=80.0rad/m and 3.0 rad/s). What is the wavelength, in cm?

λ = ?k = 80 rad/m
Inputs
k
80 rad/m
Outputs
wavelengthλ?

How it's solved

Solved with TravellingWave

Given

  • k=80.0rad/m

Find λ.

Working
  1. k=80.0rad/m=80m⁻¹
  2. wave number and wavelength(wave)k=2⋅πλ
  3. 80=2⋅3.14159265λ
  4. λ=7.854cm
  5. λ=0.0785398163m=7.85398163cm
  6. λ≈7.85cmto 3 significant figures
Conclusion

The number multiplying x counts radians of phase per metre, and one wavelength is a full turn of phase.

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_wave_along_a_string do4  kind :numerical5  describes "A wave travelling along a string is described by y(x, t) = 0.005 sin(80.0 x – 3.0 t), in which the " \6            "numerical constants are in SI units (0.005 m, %{wave_number} and 3.0 rad/s). %{wavelength}, in cm?"7  given wave_number: "80.0 rad/m"8  asks wavelength: "What is the wavelength"9end
solution.rb
1require_relative "../questions/a_wave_along_a_string"2require_relative "../science/waves/travelling_wave"34solve :a_wave_along_a_string, using: TravellingWave do5  objects :wave67  take wave_number: wave.wave_number89  wavelength = wave.wavelength10  answer wavelength:, in: "cm", figures: 31112  conclusion "The number multiplying x counts radians of phase per metre, and one wavelength is a full " \13             "turn of phase."14end
playground.rb
1require_relative "../solutions/a_wave_along_a_string"23play_with :a_wave_along_a_string do4  title "A Wave Along a String"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)