Three positions along an optical bench are recorded as , ,
PHYSICS · Subjective · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics
Computational Physics, Ch Numbers a machine can hold, and the two errors that follow
Problem
Three positions along an optical bench are recorded as x1=100000.0001m, x2=100000.0002m, x3=100000.0003m. Someone computes the population variance directly as Var=⟨x2⟩−⟨x⟩2, evaluating both terms in double-precision floating point, and reports Var=−1.9×10−6m2, a negative number.
(a) Find the error in this reasoning.
(b) Compute the correct variance using deviations from the mean.