Accuracy is about the number of correct significant digits.
if π is approximated to 3.252603764690804, then it is a highly precise number, but not accurate.
2. Data Error and Computational Error
For a function f:R→R, let and input x be the true value, f(x) the true result. But we only know the approximate value x^, not the true value x. In addition, we can only calculate f^, the approximation of f. Then the total error e is
e=f^(x^)−f(x)=(f^(x^)−f(x^))+(f(x^)−f(x))=computational error+propagated data error
The computational error comes from the difference between the true and approximation functions about the same value. The propagated data error comes from the difference between the true and approximation values about the same function.
The computational error can be divided by the truncation error and rounding error.
Suppose that sin(8π) is approximate to 0.3750 from sin(8π)≈sin(83)≈83=0.3750. From the first term, the values are different about the same function, so it represents the propagated data error. From the second term, the functions are changed f(x)=sin(x) to f(x)=x about the same value, so it represents the computational error.
3. Forward Error and Backward Error
Assume that y is the output from the solution f of an input x. Then Δx=x^−x is the backward error where x^ is the approximation of x. Δy=y^−y is the forward error wherer y^=f(x^).
As ∣Δy∣ is very small, it is said that the original problem x is well estimated by the nearby problem x^, and that the approximation solution y^ is good enough.
As an approximation to y=f(x)=cos(x) for x=1, let y^=f^(x)=1−2!x2 since cos(x)=1−2!x2+4!x4−6!x6+⋯. Then the forward and backward errors are as follows:
Keep going!Keep going ×2!Give me more!Thank you, thank youFar too kind!Never gonna give me up?Never gonna let me down?Turn around and desert me!You're an addict!Son of a clapper!No wayGo back to work!This is getting out of handUnbelievablePREPOSTEROUSI N S A N I T YFEED ME A STRAY CAT