PPolySim OS
For Students · Random Walk

Random Walk for a Newton's cradle

Built for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition. Simulate a Newton's cradle live below — adjust the inputs and watch it respond, right in your browser.

Random Walk & DiffusionLive

Controls

Hundreds of walkers start at the center and step randomly. The cloud spreads as √(time) — the signature of diffusion.

Presets

▶ Run in Python

Data Inspector

Walkers400
Steps0
RMS distance0.0
Law⟨r²⟩ ∝ t

Governing equation

Reading this result: With 400 walkers the RMS distance grows as √(steps) — the defining signature of diffusion.

Runs locally in your browser — free forever. Scale to the cloud when reality gets heavy.

or unlock everything with Pro →

More with Random Walk

Frequently asked questions

Is this good for students?
Yes — this version of "Random Walk for a Newton's cradle" is framed for students learning it for a class or exam. See the concept move instead of memorizing formulas — and check your homework intuition.
Do I need to install anything?
No. It runs in any modern browser, free, with no account required.