Simpson's rule is applied to a smooth integral with known exact value
PHYSICS · Subjective · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics
Computational Physics, Ch Differentiating and integrating numbers
Problem
Simpson's rule is applied to a smooth integral with known exact value, and the absolute errors measured are:N=8:N=16:N=32:N=64:N=128:N=256:N=512:N=1024:1.5×10−6,9.4×10−8,5.9×10−9,3.7×10−10,2.3×10−11,1.5×10−12,4.0×10−13,3.8×10−13.Someone argues: "The ratios of successive errors are about 16 up to N=256, but then they fall to 3.75 and then to 1.05. Since Simpson's rule was derived as fourth order, the ratio should stay near 16 forever; because it does not, the quadrature routine must contain a bug that appears only at large N." Find the error in this reasoning, and state what is really happening in the table, including roughly where it happens and at what error level.