Illustration of a pendulum in motion
MOTION STUDY · INTERACTIVE EXHIBIT

Pendulum Lab

Swing period, energy and damping

Model values · illustrative / references · textbook / drawing · scaled
LIVE MODELThe moving pendulum
FIXED-STEP SOLVERDRAWING SCALED
DRAG THE BOB TO SET THE ANGLE
IDEAL PENDULUM
ANGLE SIMULATED8.0°from vertical
ANGULAR SPEED SIMULATED0.0°/sinstantaneous
MECHANICAL ENERGY MODEL0.00 Jkinetic + potential
ELAPSED TIME SIMULATED0.00 smodel clock
FIELD NOTE

Gravity trades potential energy for kinetic energy as the bob passes through the centre.

MODEL VALIDATION

Four ways to check the motion

LIVE DIFFERENCES · PERCENT
01 / PERIODWAITING
— s

Measured cycle vs the nonlinear pendulum period from the elliptic-integral solution.

Textbook reference pendingΔ —%
02 / BOTTOM SPEEDWAITING
— rad/s

Observed speed at the centre vs the value predicted by the energy ledger.

Energy prediction pendingΔ —%
03 / ENERGY LEDGERLIVE
—%

Mechanical energy plus accumulated damping loss, compared with the initial energy.

Conservation balance · modelDrift —%
04 / SMALL-ANGLE LIMITTEXTBOOK
—%

Difference between the small-angle period and the nonlinear theoretical period.

Approximation contrastReference only

A percentage difference is a comparison, not a claim that the physical world is exact. The period reference assumes weak damping; the overdamped preset deliberately has no periodic solution.

BEHIND THE EXHIBITThe scienceOPEN +

From gravity to a repeating swing

The bob is treated as a point mass at distance L from a frictionless pivot. Its angle from the downward vertical is θ. Gravity supplies the restoring torque, while the damping term removes energy in proportion to angular speed.

θ̈ = −(g / L) sin θ − γ θ̇

Here g is gravitational acceleration and γ is the illustrative damping rate. The sine term is the real restoring-torque geometry. Replacing sin θ with θ is the small-angle approximation, useful only when the swing is modest.

E = ½ mL² θ̇² + mgL(1 − cos θ)

The first term is rotational kinetic energy and the second is gravitational potential energy measured from the lowest point. With damping, mechanical energy falls at a rate proportional to mL²γθ̇². The energy ledger adds that lost energy back, so its total should remain close to the initial value.

Why the period check is more than a stopwatch

For a small swing, the textbook period is T₀ = 2π√(L/g). At larger amplitudes, the exact undamped period is longer. It can be written using the complete elliptic integral of the first kind, evaluated here with the arithmetic–geometric mean. The displayed weak-damping estimate adds the familiar frequency correction for linear damping.

T = 4√(L/g) K(sin(θ₀/2))

The numerical model advances at a fixed 1/240-second solver step using a velocity-Verlet update for the conservative motion and symmetric damping steps. This is a numerical setting, not a measured physical constant. The bob is drawn to scale within the available screen area; its visual size is not a physical measurement.

Simplifications: the rod is rigid and massless, the bob is a point mass, the pivot has no bearing friction, the motion stays in one plane, and damping is linear rather than a detailed model of air flow. Real pendulums can also flex, twist, wobble and lose energy in several ways.

This is an independent educational simulation and is not affiliated with a museum, university or scientific instrument manufacturer.

Made with 🤖 ChatGPT