WOLFRAM

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)Summary of the most common use cases

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

Out[1]=1

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

Out[1]=1

The relative error is small:

Out[3]=3

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

Out[4]=4

Scope  (2)Survey of the scope of standard use cases

Find a minimum with convergence criteria and :

Out[2]=2

Use convergence criteria and :

Out[3]=3

Use convergence criteria and not possible at machine precision:

Out[4]=4

Use a higher working precision to allow convergence:

Out[5]=5

Solve a differential equation using high-precision arithmetic:

Out[1]=1
Out[2]=2

Use AccuracyGoal and PrecisionGoal at half the 32-digit working precision:

Out[3]=3

This corresponds to the automatic setting used by NDSolve:

Out[4]=4
Wolfram Research (1988), AccuracyGoal, Wolfram Language function, https://reference.wolfram.com/language/ref/AccuracyGoal.html (updated 2003).
Wolfram Research (1988), AccuracyGoal, Wolfram Language function, https://reference.wolfram.com/language/ref/AccuracyGoal.html (updated 2003).

Text

Wolfram Research (1988), AccuracyGoal, Wolfram Language function, https://reference.wolfram.com/language/ref/AccuracyGoal.html (updated 2003).

Wolfram Research (1988), AccuracyGoal, Wolfram Language function, https://reference.wolfram.com/language/ref/AccuracyGoal.html (updated 2003).

CMS

Wolfram Language. 1988. "AccuracyGoal." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/AccuracyGoal.html.

Wolfram Language. 1988. "AccuracyGoal." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2003. https://reference.wolfram.com/language/ref/AccuracyGoal.html.

APA

Wolfram Language. (1988). AccuracyGoal. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AccuracyGoal.html

Wolfram Language. (1988). AccuracyGoal. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/AccuracyGoal.html

BibTeX

@misc{reference.wolfram_2025_accuracygoal, author="Wolfram Research", title="{AccuracyGoal}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/AccuracyGoal.html}", note=[Accessed: 06-April-2025 ]}

@misc{reference.wolfram_2025_accuracygoal, author="Wolfram Research", title="{AccuracyGoal}", year="2003", howpublished="\url{https://reference.wolfram.com/language/ref/AccuracyGoal.html}", note=[Accessed: 06-April-2025 ]}

BibLaTeX

@online{reference.wolfram_2025_accuracygoal, organization={Wolfram Research}, title={AccuracyGoal}, year={2003}, url={https://reference.wolfram.com/language/ref/AccuracyGoal.html}, note=[Accessed: 06-April-2025 ]}

@online{reference.wolfram_2025_accuracygoal, organization={Wolfram Research}, title={AccuracyGoal}, year={2003}, url={https://reference.wolfram.com/language/ref/AccuracyGoal.html}, note=[Accessed: 06-April-2025 ]}