AccuracyGoal

AccuracyGoal

is an option for various numerical operations which specifies how many effective digits of accuracy should be sought in the final result.

Details

Examples

open allclose all

Basic Examples  (2)

Approximate a numerical integral to at least 8 digits of accuracy:

In[1]:=
Click for copyable input
Out[1]=

Use precision (relative error) as the basis for error control in solving an ODE:

In[1]:=
Click for copyable input
Out[1]=

The relative error is small:

In[2]:=
Click for copyable input
In[3]:=
Click for copyable input
Out[3]=

Without specifying the AccuracyGoal, the relative error is much larger:

In[4]:=
Click for copyable input
Out[4]=

Scope  (2)

See Also

PrecisionGoal  WorkingPrecision  Accuracy  SetAccuracy  Precision

Tutorials

Introduced in 1988
(1.0)
| Updated in 2003
(5.0)