PrecisionGoal

PrecisionGoal

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

Details

Examples

open allclose all

Basic Examples  (2)

Approximate an integral to at least 10 digits of precision:

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

Use accuracy (absolute error) as the basis for error control in solving an ODE:

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

The error is small:

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

Without specifying the PrecisionGoal, the error is much larger:

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

Scope  (2)

See Also

AccuracyGoal  WorkingPrecision  Precision  SetPrecision  Accuracy

Tutorials

Introduced in 1991
(2.0)
| Updated in 2003
(5.0)