Simple Harmonic Motion

A mass on a spring. Change the mass, stiffness, and amplitude, then watch the motion and energy respond.

T = 2π√(m/k)

Controls

0.50 kg
40 N/m
0.12 m

Live readings

Displacement x0.120m
Velocity v0.00m/s
Acceleration a0.0m/s²
Period T0.000s
Frequency f0.00Hz
Kinetic KE0.000J
Potential PE0.000J
Total energy E0.000J

Energy is conserved: KE + PE = E at every instant. Speed peaks at the centre; acceleration peaks at the turning points.