Student[NumericalAnalysis] - Maple Programming 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

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

withStudent[NumericalAnalysis]:

appr10.0

appr:=10.0

(1)

exac9.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