Explore Simple Harmonic, Damped, and Forced oscillations interactively.
No damping (b = 0) and no driving force (F₀ = 0). The mass oscillates indefinitely at its natural frequency ω₀ = √(k/m).
Energy is lost to friction/resistance. Amplitude decreases exponentially: x(t) = Ae−γtcos(ωt + φ)
An external periodic force drives the system. At resonance (ω = ω₀), amplitude peaks dramatically.
Choose Manual, Under, Critical, or Over damping using the radio buttons in the control panel.
Adjust sliders for b (damping), v₀ (initial velocity), ω (driving frequency), and F₀ (driving force). Initial displacement x₀ appears after pressing Play.
Press the ▶ Play/Pause button to start. Watch the spring-mass system animate on the left canvas and the displacement (red) / velocity (blue) traces appear on the graph in real time.
Check the V checkbox to overlay the velocity curve (blue) on the displacement graph. This reveals the 90° phase difference between x(t) and v(t).
Compare how the amplitude envelope changes across damping types. Increase ω towards ω₀ to witness resonance — the maximum amplitude spike.
Use Reset Time to clear the graph trace, or Reset Simulation to restore all parameters to their default values. Try a new configuration!