Sub topic 15
Worked experiment: error in g from a simple pendulum
This chapter combines the whole tutorial in one experiment. You measure a length with a metre scale and a vernier caliper, and a time with a stopwatch. You then carry both uncertainties through the formula for g and report a result with an error. I assume you know least count, zero error, mean and mean absolute deviation, and the rule for propagating errors in quotients and powers.
The physics and the formula
For small swings, a simple pendulum of effective length L has period
T = 2π √(L / g)
Solving for g gives
g = 4π² L / T²
The two measured quantities enter differently. L appears to the first power, so its relative error counts once. T appears squared, so its relative error counts twice:
Δg/g = ΔL/L + 2 ΔT/T
The constant 4π² is exact and adds no error. The result is g in m/s², which has dimensions L T⁻². The formula passes the homogeneity check, because L/T² has the same dimensions.
Experimental plan
The effective length is measured from the point of suspension to the centre of the bob. You measure the string length l from the hook to the top of the bob with a metre scale, then add the bob's radius r.
Measuring the length
The metre scale has a least count of 0.1 cm. The string length reads l = 98.50 cm, and its error is the least count, Δl = 0.1 cm.
The vernier caliper has 1 main scale division (MSD) of 1 mm and 10 vernier divisions that coincide with 9 MSD. Its least count is 1 MSD / 10 = 0.01 cm. The observed diameter is 2.14 cm. With the jaws closed, the vernier zero lies to the right of the main zero, and the zero error is +0.02 cm. The zero correction is the negative of that:
- Corrected diameter: d = 2.14 − 0.02 = 2.12 cm.
- Radius: r = 1.06 cm.
- Error in r: Δr = 0.01 / 2 = 0.005 cm, because the radius is half the diameter.
The effective length and its error are:
- L = 98.50 + 1.06 = 99.56 cm = 0.9956 m.
- ΔL = Δl + Δr = 0.1 + 0.005 = 0.105 cm.
Errors in a sum add, even though L is a sum of two terms. The zero correction shifts the value of d, but it does not change the least-count error.
Measuring the time
A single period of about 2 s is too short to time well. Human reaction time is about 0.1 to 0.2 s, which would be several percent of one period. Instead, time 20 oscillations. The same reaction error is then spread across 20 periods.
Six trials of 20 oscillations gave these readings:
| Trial | Time for 20 oscillations t (s) | Deviation from mean (s) | Absolute deviation (s) |
|---|---|---|---|
| 1 | 40.2 | −0.1 | 0.1 |
| 2 | 40.4 | +0.1 | 0.1 |
| 3 | 40.3 | 0.0 | 0.0 |
| 4 | 40.5 | +0.2 | 0.2 |
| 5 | 40.1 | −0.2 | 0.2 |
| 6 | 40.3 | 0.0 | 0.0 |
- Mean time: t = 241.8 / 6 = 40.3 s.
- Mean absolute deviation: Δt = 0.6 / 6 = 0.1 s. This equals the stopwatch's 0.1 s least count, so 0.1 s is a sensible error either way.
- Period: T = 40.3 / 20 = 2.015 s.
- Error in the period: ΔT = 0.1 / 20 = 0.005 s.
Dividing by 20 divides both the value and its absolute error by 20, so the relative error in T equals the relative error in t. The benefit of counting more oscillations is that the same absolute timing error becomes a smaller fraction of the total time.
Computing g and its error
import statistics
# Length
l, dl = 98.50, 0.1 # cm, metre scale (least count 0.1 cm)
d_obs, zero_error = 2.14, 0.02 # cm, vernier least count 0.01 cm
d = d_obs - zero_error # zero correction
r = d / 2
dr = 0.01 / 2
L = (l + r) / 100 # metres
dL = (dl + dr) / 100
# Time for 20 oscillations
times = [40.2, 40.4, 40.3, 40.5, 40.1, 40.3]
n = 20
t_mean = statistics.mean(times)
dt = statistics.mean(abs(t - t_mean) for t in times)
T = t_mean / n
dT = dt / n
# g and its error
import math
g = 4 * math.pi**2 * L / T**2
rel_L = dL / L
rel_T = 2 * dT / T
rel_g = rel_L + rel_T
dg = g * rel_g
print(round(L, 4), round(T, 3))
print(round(g, 2), round(rel_g * 100, 2), round(dg, 2))
# 0.9956 2.015
# 9.68 0.6 0.06The numbers are:
- Relative error from L: 0.00105 / 0.9956 ≈ 0.11%.
- Relative error from T: 2 × 0.005 / 2.015 ≈ 0.50%.
- Total relative error: 0.60%.
- Absolute error: 9.68 × 0.0060 ≈ 0.06 m/s².
The reported result is g = 9.68 ± 0.06 m/s², a relative error of 0.6%. The error has one significant figure, and the value is rounded to the same decimal place (hundredths).
Which measurement matters most
The contributions to the total relative error are:
| Source | Relative error | Share of total |
|---|---|---|
| Length L | 0.11% | about 18% |
| Period T (counted twice) | 0.50% | about 82% |
Time dominates because of the square and because a stopwatch is far less precise than a vernier-corrected length. Improving the length reading further would barely change the result. Timing 40 oscillations instead of 20, with the same absolute timing error, would halve ΔT:
- ΔT = 0.1 / 40 = 0.0025 s.
- Relative error from T: 2 × 0.0025 / 2.015 ≈ 0.25%.
- Total: about 0.36%.
This is the standard way to decide where to spend effort. Compute each term, find the largest, and improve that one.
Does the result agree with 9.81?
The accepted value, 9.81 m/s², lies 0.13 m/s² above the measured 9.68. That gap is more than twice the quoted error of 0.06. The random errors cannot explain it, so the experiment probably has a systematic error. Plausible causes, all consistent with a g that is too low, include:
- Large amplitude. The formula holds for small angles. At bigger swings the period is slightly longer, so a larger T gives a smaller g.
- Length taken to the wrong point. Measuring to the bottom of the bob, or forgetting the loop of thread at the hook, changes L by a constant amount.
- String stretch or a swinging support. A loose clamp lengthens the effective period.
- Stopwatch started late or stopped late at each trial. This shifts every trial in the same direction, so it does not appear in the spread of readings.
The spread of the six readings only measures random error. A constant offset in all of them, a systematic error, never shows up in the mean deviation. That is why the repeated readings looked tight while the answer was still off.
Common mistakes in this calculation
- Forgetting the square. Using ΔT/T instead of 2ΔT/T makes the dominant error look half its true size.
- Dividing the error by n incorrectly. The absolute error of the total time divides by n. The relative error does not change.
- Using the wrong sign for the zero correction. A positive zero error is subtracted from the observed reading.
- Subtracting errors. Even in a difference, such as a measurement minus a reference, the absolute errors add.
- Leaving out the radius. L must run from the suspension point to the centre of the bob.
- Timing a single swing. Reaction time then dominates the whole error budget.
Exercise
A student uses the same pendulum but finds L = 0.9956 m with ΔL = 0.00105 m, and times 40 oscillations as 80.6 s with Δt = 0.1 s. Find T, ΔT, and the percentage error in g.
Show answer
T = 80.6 / 40 = 2.015 s and ΔT = 0.1 / 40 = 0.0025 s. The relative error in L is 0.00105 / 0.9956 ≈ 0.105%. The relative error in T, counted twice, is 2 × 0.0025 / 2.015 ≈ 0.248%. The total is about 0.35%, so the percentage error in g is about 0.35%, down from 0.60% with 20 oscillations.
Exercise
In the experiment above, the zero error of the vernier was +0.02 cm, but a student forgets to apply the zero correction. By how much does this change L and the computed g, and is the change larger than the quoted error in g? Use g = 9.68 m/s² and L = 0.9956 m.
Show answer
The uncorrected diameter is 2.14 cm, so r is 1.07 cm instead of 1.06 cm, and L is larger by 0.01 cm = 0.0001 m. The relative change in L is 0.0001 / 0.9956 ≈ 0.010%, so g changes by about 0.010% of 9.68, roughly 0.001 m/s². That is far smaller than the quoted error of 0.06 m/s², so the omitted correction would not be visible here. It would matter if the length were short or the vernier zero error larger. The correction is still applied, because a systematic error should be removed whenever it is known.