THE MECHANICS OF A SWING
The Pendulum Period Laboratory
Change the conditions. Watch the motion. Test the mathematics behind every swing.
LIVE MODEL
MEASURE THE RHYTHM
Experiment vs theory
The model times two upward centre crossings, then compares that measured period with the nonlinear pendulum equation.
MODEL VALIDATION
Three independent checks
References are textbook equations; inputs, readings, percentage differences and tolerance thresholds are illustrative. The small-angle check is expected to fail for wide swings.
BEHIND THE MOTIONThe scienceEXPAND +
From a restoring torque to a measured period
A pendulum is a mass suspended at a distance from a pivot. Gravity supplies a restoring torque, pulling the bob towards its lowest point. The model integrates the nonlinear equation directly rather than replacing the sine of the angle with the angle itself.
The angular acceleration depends on the sine of the instantaneous angle.
Kinetic and gravitational potential energy exchange while their sum remains constant.
This approximation follows when sin θ is close to θ, with θ measured in radians.
K is the complete elliptic integral of the first kind. The calculation uses its arithmetic-geometric mean form.
How the experiment is computed
The state is angle and angular velocity. A fixed time step of 1/240 s is advanced with a fourth-order Runge–Kutta integrator. The measured period is obtained from two successive upward crossings of the vertical centre line, with interpolation between integration steps. The initial turning angle is derived from total energy, so an initial push is included in the theoretical reference.
What the model leaves out
The rod is rigid and massless, the bob is treated as a point mass, the pivot has no friction, and air resistance is ignored. The display is a scaled drawing, not a dimensional engineering drawing. Real pendulums lose energy and may have small pivot or support motion; this idealisation isolates the relationship between gravity, length, amplitude and period.
This is an independent educational simulation and is not affiliated with a museum, university, or scientific institution.