PrecisionGoal

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

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples (2)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]=
New in 2 | Last modified in 5
New to Mathematica? Find your learning path »
Have a question? Ask support »