AbsoluteError - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Student[NumericalAnalysis]

  

AbsoluteError

  

compute the absolute error of an approximation

 

Calling Sequence

Parameters

Options

Description

Examples

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

Options

• 

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.

Description

• 

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

Examples

withStudentNumericalAnalysis:

appr10.0

appr10.0

(1)

exac9.8

exac9.8

(2)

AbsoluteErrorexac,appr,digits=5

0.2

(3)

See Also

Student[NumericalAnalysis]

Student[NumericalAnalysis][ComputationOverview]

Student[NumericalAnalysis][RelativeError]