Applet by Fu-Kwun Hwang
A horizontal spring is connected to a mass by a string that extends over a light frictionless pulley.
In order to attach mass/blocks to the spring:
The spring will relax to its equilibrium position.
You can detach mass/blocks from the spring:
The spring will start to oscillate and exhibit simple harmonic oscillation (SHM).
Press the mouse button to suspend the animation, click it again to resume.
Press the Stop button in order to reset the spring back to equilibrium position.
Press the Reset button in order to reset parameters to default values.