The work done by a varying force over discrete displacement segments is computed as…
PHYSICS · Subjective · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics · Numerical and computational mathematics
Error, Chance and the Machine, Ch Rounding, backward error and the sensitivity of a computation
Problem
The work done by a varying force over n=300 discrete displacement segments is computed as the dot product W=∑i=1nFiΔxi, evaluated in binary64 by forming each product FiΔxi and then summing left to right. Each product satisfies fl(FiΔxi)=FiΔxi(1+δi), ∣δi∣≤u, and the subsequent summation of the n products carries the recursive summation backward error (n−1)u derived for a sum of n terms. Combining these two roundings to first order in u, estimate the backward error bound on the computed W: the largest relative perturbation that would need to be applied to each FiΔxi for the computed total to be exact.