compute the absolute error of an approximation - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Education : Student Package : Numerical Analysis : Computation : Student/NumericalAnalysis/AbsoluteError

Student[NumericalAnalysis][AbsoluteError] - compute the absolute error of an approximation

Calling Sequence

AbsoluteError(xe, xa, opts)

Parameters

xe

-

realcons; the exact value

xa

-

realcons; the approximated value

opts

-

(optional) equation(s) of the form digits = value

Description

• 

The AbsoluteError command computes the absolute error of xa with respect to the exact value xe.

Examples

withStudent[NumericalAnalysis]:

appr:=10.0

appr:=10.0

(1)

exac:=9.8

exac:=9.8

(2)

AbsoluteErrorexac,appr,digits=5

0.2

(3)

See Also

Student[NumericalAnalysis], Student[NumericalAnalysis][ComputationOverview], Student[NumericalAnalysis][RelativeError]


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam