Student[NumericalAnalysis]
AbsoluteError
compute the absolute error of an approximation
Calling Sequence
Parameters
Options
Description
Examples
AbsoluteError(xe, xa, opts)
xe
-
realcons; the exact value
xa
realcons; the approximated value
opts
(optional) equation(s) of the form digits = value
digits = posint
A positive integer; the environment variable Digits will be set to this integer during the execution of this procedure. By default, Digits is 10.
The AbsoluteError command computes the absolute error of xa with respect to the exact value xe.
with⁡StudentNumericalAnalysis:
appr≔10.0
exac≔9.8
AbsoluteError⁡exac,appr,digits=5
0.2
See Also
Student[NumericalAnalysis][ComputationOverview]
Student[NumericalAnalysis][RelativeError]
Download Help Document