continues from lesson 3 — values defined earlier in the course stay live here
wave anatomy — amplitude A, wavelength λ, crest and trough
ELI5: a wave carries energy without carrying matter (the cork bobs, the wave moves on). One bookkeeping rule ties it together: v = f·λ. The medium sets the speed; the source sets the frequency; so the wavelength is whatever's left over.
vsound:=343m/s=343 m / sspeed of sound, room temperature
fA4:=440Hz=440 Hzconcert pitch A
λA=fA4vsound=0.77955 mabout 78 cm crest to crest
A guitar string only sustains waves that fit — whole numbers of half-wavelengths. Those are the harmonics, and they are why a plucked string has a definite pitch.
Lstring:=0.65m=0.65 mscale length
vstring:=430m/s=430 m / swave speed on the string (tension & gauge set this)
f1=2⋅Lstringvstring=330.77 Hzfundamental — about E₃ on a guitar
f2=2⋅f1=661.54 Hzsecond harmonic: the octave
Real-world hook: v = f·λ explains why thunder lags lightning, how MRI and ultrasound image the body, and why a fire-truck siren drops in pitch as it passes (the Doppler effect).
Try it yourself: sound travels at 343 m/s. What is the wavelength of a 512 Hz tone? (v = f·λ.)
λyou:=343m/s/512Hz=0.66992 m✏️ Your turn: find the wavelength. The check verifies f·λ = v = 343 m/s — so you must solve for λ.
✓ passabs(λyou∗512Hz−343m/s)<0.01m/sgreen when frequency × wavelength = the wave speed
Where next: Physics 3 — the electric and magnetic fields, and the light that is both.