hoan.uk

Simple pendulum lab

Labs
Release angle θ₀: 30 degrees
String length L: 1.00 m

About

ExperimentBeginnerAges 12–1712 minNGSS MS-PS3-1GDPT-2018 VatLi-11

Pull the bob aside and let go, time the swings with a stopwatch, and find how the period depends on length, angle and gravity.

How a simple pendulum works

A simple pendulum is a small heavy bob on a light string that swings under gravity. For small angles its period is T = 2π√(L/g): it grows with the square root of the length, falls with the square root of gravity and does not depend on the mass. For larger angles the period gets longer, and the exact value needs an elliptic integral.

In this virtual lab you do what a student does at a real bench: time several swings with a stopwatch that has a 0.01 s least count, read the length on a ruler, record the numbers, plot T against L with error bars and estimate g. Switch to the Moon or Mars and see the swing slow down.

Steps

0 of 6 done

Formulas

Model and assumptions

The bob is a point mass on a rigid, massless support of length L in a uniform field g. It obeys θ″ = −(g/L) sin θ − (b/m) θ′ − (kL/m)|θ′|θ′. The sine is never replaced by the angle itself.

  • The bob is a point mass. Its size only sets the area for air drag (a lead sphere of the chosen mass); a warning appears when it is too big for that.
  • The string is massless, inextensible and always taut, so the model is a rigid rod. Above 90° a real string would go slack.
  • Gravity is uniform, the pivot is fixed and the motion stays in one vertical plane: no Earth rotation, no Foucault effect.
  • Air drag, when on, is the quadratic drag of a smooth sphere (Cd = 0.47, air density 1.225 kg/m³). Viscous drag is linear in speed. Buoyancy and added mass are ignored.
  • Without drag the energy is conserved. The integrator is symplectic (velocity Verlet, 1 ms step), so the energy does not drift: under 0.1 % over one simulated hour (tested). With drag, RK4 with a divergence guard is used.
  • The period marked exact is T = 4√(L/g)·K(sin(θ₀/2)), with K the complete elliptic integral of the first kind. The simulation agrees with it within 0.1 % (tested). The small-angle formula T = 2π√(L/g) is shown only for comparison.
  • Instruments: the stopwatch reads to 0.01 s, the ruler to 1 mm and the protractor to 1°. With noise on, each stopwatch reading gets a seeded random error of 0.05 s (reaction time). The same seed gives the same numbers.

Valid range of each quantity

QuantityValid rangeDefault
Gravity g1 – 25 m/s²9.81 m/s²
String length L0.2 – 2 m1 m
Release angle θ₀1 – 170 °30 °
Bob mass m50 – 1,000 g200 g
Viscous drag b0 – 0.1 N·s/m0 N·s/m

References

Quiz

You make the string 4 times longer. What happens to the period?
Without drag, what does doubling the mass of the bob do to the period?
The same pendulum is moved from Earth to the Moon (g = 1.62 m/s²). The period becomes about…
Released from 60°, the exact period compared with 2π√(L/g) is…
Why time 20 swings and divide by 20, instead of timing one swing?
Without drag, where is the bob fastest?
What does the slope of a straight-line graph of T² against L equal?
Why does the lab warn you above a 90° release angle?

FAQ

Frequently asked questions

How does the period of a pendulum depend on its length?

The period grows with the square root of the length: T = 2π√(L/g) for small angles. Quadrupling the length doubles the period, and a graph of T² against L is a straight line with slope 4π²/g.

Does the mass of the bob change the period?

Not without drag: the mass cancels out of the equation of motion. With air drag a lighter bob of the same material loses amplitude faster, because drag acts on a smaller mass.

Why does a large release angle make the period longer?

The restoring force is proportional to sin θ, which is smaller than θ. The bob is pulled back less than the small-angle formula assumes, so each swing takes longer: about 7 % longer at 60°.

How can a pendulum measure the acceleration of gravity?

Time many swings for several lengths, plot T² against L and fit a straight line. Then g = 4π² divided by the slope. Timing 10 or 20 swings instead of one cuts the relative error of the stopwatch reading.

How accurate is this simulation?

It solves the full nonlinear equation with a symplectic integrator. The period agrees with the exact elliptic-integral value within 0.1 %, and without drag the energy changes by less than 0.1 % over a simulated hour. Both limits are checked by automated tests.

Measurements

Recorded period measurements (the CSV file uses SI units)
#L (m)θ₀ (°)g (m/s²)Nt (s)T ± ΔT (s)
No measurements yet. Record one from the Controls tab.

Period T against length L

11.522.530.511.52Length L (m)Period T (s)
Exact (elliptic integral) for the current g and θ₀Small-angle formula 2π√(L/g)Your measurements, bars show ±1 uncertainty

How a simple pendulum works

A simple pendulum is a small heavy bob on a light string that swings under gravity. For small angles its period is T = 2π√(L/g): it grows with the square root of the length, falls with the square root of gravity and does not depend on the mass. For larger angles the period gets longer, and the exact value needs an elliptic integral.

In this virtual lab you do what a student does at a real bench: time several swings with a stopwatch that has a 0.01 s least count, read the length on a ruler, record the numbers, plot T against L with error bars and estimate g. Switch to the Moon or Mars and see the swing slow down.

Frequently asked questions

How does the period of a pendulum depend on its length?

The period grows with the square root of the length: T = 2π√(L/g) for small angles. Quadrupling the length doubles the period, and a graph of T² against L is a straight line with slope 4π²/g.

Does the mass of the bob change the period?

Not without drag: the mass cancels out of the equation of motion. With air drag a lighter bob of the same material loses amplitude faster, because drag acts on a smaller mass.

Why does a large release angle make the period longer?

The restoring force is proportional to sin θ, which is smaller than θ. The bob is pulled back less than the small-angle formula assumes, so each swing takes longer: about 7 % longer at 60°.

How can a pendulum measure the acceleration of gravity?

Time many swings for several lengths, plot T² against L and fit a straight line. Then g = 4π² divided by the slope. Timing 10 or 20 swings instead of one cuts the relative error of the stopwatch reading.

How accurate is this simulation?

It solves the full nonlinear equation with a symplectic integrator. The period agrees with the exact elliptic-integral value within 0.1 %, and without drag the energy changes by less than 0.1 % over a simulated hour. Both limits are checked by automated tests.