Tested tool guide
Tested browser tools
Checked August 16, 2026
What Pendulum Simulator does, with a checked example
Pendulum Simulator numerically integrates the nonlinear equation of motion for a simple pendulum (bob on a rigid, massless rod) or the coupled equations for a double pendulum (two linked rods and masses), rather than relying on the textbook small-angle formula. You set length, bob mass, starting angle, and a damping coefficient, then watch an angle-vs-time trace and a phase-space plot (angular velocity against angle) update as the simulation runs. The common surprise: push the starting angle past roughly 20-30 degrees and the measured period grows noticeably longer than 2 pi times the square root of L over g, because that formula only holds in the small-angle limit.
Worked example
A concrete input and expected output from the current implementation.
Input
Simple pendulum, length = 1 m, gravity = 9.81 m/s^2, starting angle = 5 degrees, damping = 0
->
Expected output
Period ~= 2.006 s
At a 5-degree starting angle the motion stays in the near-linear regime, so the numerically integrated period matches the small-angle formula 2*pi*sqrt(L/g) = 2*pi*sqrt(1/9.81) to within about a millisecond.