2. How to Obtain and Estimate Accuracy
Society for Industrial and Applied Mathematics eBooks · 2008
I always think I used computers for what God had intended them for, to do arithmetic. —Cleve Moler 2.1 Basic Concepts in Error Estimation The main purpose of numerical analysis and scientific computing is to develop efficient and accurate methods to compute approximations to quantities that are difficult or impossible to obtain by analytic means. It has been convincingly argued (Trefethen [357]) that controlling rounding errors is just a small part of this, and that the main business of computing is the development of algorithms that converge rapidly. Even if we acknowledge the truth of this statement, it is still necessary to be able to control different sources of errors, including roundoff errors, so that these will not interfere with the computed results. 2.1.1 Sources of Error Numerical results are affected by many types of errors. Some sources of error are difficult to influence; others can be reduced or even eliminated by, for example, rewriting formulas or making other changes in the computational sequence. Errors are propagated from their sources to quantities computed later, sometimes with a considerable amplification or damping. It is important to distinguish between the new error produced at the computation of a quantity (a source error), and the error inherited (propagated) from the data that the quantity depends on. A. Errors in Given Input Data. Input data can be the result of measurements which have been contaminated by different types of errors. In general one should be careful to distinguish between systematic errors and random errors.