Newton's Cradle

A cradle simulated from the contact forces up, so you can see what happens when it is not ideal: other materials, chains, elastic ropes, a bad ball, balls that are not round.

Drag a ball to lift it, let go to release.

Where the energy goes

Share of the energy you put in by lifting, since release.

Swing of each ball

Angle from hanging straight down.

Inside the latest impact

Force in each contact while the impact passes along the row.

How it is simulated, and what is simplified

  • Each ball is a mass hanging from two strings that run to two rails, as in a real cradle. The strings are springs that can pull but not push, so they can go slack.
  • Touching balls push each other apart with a Hertz contact force (it grows as the squeeze to the power 1.5) set by the two materials' stiffness and the ball sizes. A steel-on-steel impact lasts about 80 millionths of a second, so the time step drops to about a millionth of a second while balls touch.
  • Losses in a contact follow a viscoelastic law. "Restitution" is the bounce you would measure at 0.5 m/s; faster impacts lose slightly more, slower ones slightly less. Where two materials meet, the softer one counts for more.
  • Air drag uses the drag coefficient of a sphere at the ball's actual Reynolds number. In water the balls also feel buoyancy and drag the surrounding water along. The thin film of fluid squeezed out between two balls just before they touch is left out, which matters in water.
  • String friction is a small fraction of the string tension, acting against the motion. Chains use the same law with a larger fraction, and also lose energy whenever they go slack and snap tight.
  • Out-of-round balls have a few smooth lobes. The contact force tilts with the local surface. The shape is drawn five times exaggerated.
  • Not included: spin of the balls, friction between balls, the weight and drag of the strings, flexing of the frame, permanent dents (lead really dents, here it only loses energy), and sound carrying energy away.
  • Material values are typical handbook figures. Restitution depends strongly on surface finish and hardness, so treat those numbers as plausible, not measured.