Primitives
SaveLabExperimentsApproach

Instruments

Time0.00 s
Bodies0
Kinetic E0.00 J
Excess KE0.00 J
Potential E0.00 J
Total E0.00 J
Momentum0.00
Ang. mom.0.00
Max speed0.00 m/s
Gravity9.81 m/s²
FPS60
Gravity9.81m/s²
Speed1.00×
built on founden.ai
Experiments/Fundamentals

Hooke's law simulation: a hanging chain of springs

Four rubber balls hang in a chain of springs. Pull the bottom one, let go, and watch the disturbance travel up the chain and back.

Hooke's law

F = −k x

F
force the spring exerts (N)
k
spring stiffness (N/m), 55 N/m here
x
extension of the spring beyond its rest length (m)

What you are watching

A fixed anchor holds four equal rubber balls, each linked to the one above by a spring of stiffness 55 N/m and rest length 0.95 m, with a small damper in each. Every spring starts at rest length, so the chain drops and bounces as the springs take up the weight, then settles.

At rest the top spring is stretched most and the bottom least, in a ratio of about 4 : 3 : 2 : 1, because each spring carries every ball below it.

Why it happens

Hooke's law: a spring pulls back with a force proportional to its extension, F = −kx, the minus sign meaning it opposes the stretch. In equilibrium each spring stretches until kx equals the weight it carries.

A mass on a spring oscillates with period 2π√(m/k), independent of amplitude and of g; gravity only shifts the equilibrium. Four coupled masses have four such modes, and a sharp pull on one end is handed from ball to ball.

Each spring also has a damper (1.4 N·s/m), so oscillations die away. Total E includes the elastic energy ½kx² in the springs, and it falls steadily as the dampers turn motion into heat the simulation does not track.

Try this

  1. Pull the bottom ball down about a metre, hold it still and let go. The motion is handed up the chain ball by ball, reflected at the anchor and sent back down.
  2. Set gravity to 0: every spring relaxes to its 0.95 m rest length. Push it to 25 m/s² and each stretch grows about 2.5 times: extension is proportional to load.
  3. After letting go, watch Total E fall steadily as the dampers take energy out, while Kinetic E and Potential E slosh back and forth.
  4. Pull the bottom ball sideways and let go. The chain swings like a pendulum and bounces at the same time.

Questions

What is Hooke's law?

A spring's force is proportional to how far it is stretched or compressed from rest length and points back toward it, F = −kx. Real springs obey it up to their elastic limit.

Does gravity change the period of a mass on a spring?

No. The period is 2π√(m/k); gravity only moves the equilibrium position down by mg/k.

More fundamentals experiments

  • SandboxNewton's laws
  • ProjectileProjectile motion
  • PendulumEnergy exchange
  • Double pendulumDeterministic chaos
  • Newton's cradleConservation of momentum
  • Elastic collisionConservation of momentum
  • TowerCentre of mass
  • Ramp & frictionFriction
  • OrbitInverse-square gravity
  • Pendulum waveSimple harmonic motion
  • RopeTension
  • Rope vs rodBending stiffness

All 57 experiments

Primitives logoPrimitives

A real-time physics engine you experiment with directly. Real Newtonian mechanics, in SI units, in your browser.

Product

  • Engine
  • Experiments
  • Lab sheets
  • Lab
  • Approach
  • Notes

Legal

  • Privacy Policy
  • Terms of Service

Contact

  • support@primitives.im
© 2026 Primitives. All rights reserved.