Wave Equation

An explicit leapfrog finite-difference solver. Resonance, standing waves and superposition, with the measured period next to the theory.

Sims & toysSimulationPhysicsMath
Wave Equation screenshot

An explicit leapfrog finite-difference solver. The resonance, the standing waves, the superposition - all the ones you remember.

MODE 1 CLICK THE STRING TO DISTURB IT
0 FPS

The probe trace under the string is the displacement at mid-span. Count the crests to measure the period yourself and compare it with fₙ = nc/2L.

Explicit leapfrog scheme, u⁶⁶ = c²u⁹⁹, run at 0.4×the CFL limit so it stays stable at any speed. The substep count shown is the stability cost.

Every mode, counted

More games