zitmus
← All simulations Physics · Simple Harmonic Motion

SHM Explorer

A spring-mass and pendulum oscillate while a sine curve and energy bars track them.

About this simulation

Pick mass and spring constant (or pendulum length) and pull to an amplitude; the oscillator traces x = A·cos(ωt) on a live graph while a KE↔PE bar shows energy sloshing between kinetic and potential with the total held fixed. Students see directly why heavier masses swing slower and why energy — not position — is what is conserved.