Numerical errors arise from the use of approximation methods to represent mathematical operations and quantities.

  • True value = Approximation + Error
  • = “true error” = exact value of error = true value - approximation

Definitions

True Percent Relative Error

This can be used when the true value is known.

Approximate Percent Relative Error

This can be used when the true value is unknown. This is also used in iterative methods, where in each subsequent trial, the approximate value gets closer to the true value.

Note that in the above definitions, the absolute value of error values are usually used to avoid positive/negative values.

Absolute Error

This is in units of the value .

Relative Error

This is non-dimensionalized.