is an option for various numerical operations which specifies how many effective digits of accuracy should be sought in the final result.
- AccuracyGoal is an option for such functions as NIntegrate, NDSolve, and FindRoot.
- AccuracyGoal->Automatic normally yields an accuracy goal equal to half the setting for WorkingPrecision.
- AccuracyGoal->Infinity specifies that accuracy should not be used as the criterion for terminating the numerical procedure. PrecisionGoal is typically used in this case.
- Even though you may specify AccuracyGoal->n, the results you get may sometimes have much less than n‐digit accuracy.
- In most cases, you must set WorkingPrecision to be at least as large as AccuracyGoal.
- AccuracyGoal effectively specifies the absolute error allowed in a numerical procedure.
- With AccuracyGoal->a and PrecisionGoal->p, the Wolfram Language attempts to make the numerical error in a result of size be less than .
Examplesopen allclose all
Basic Examples (2)
Without specifying the AccuracyGoal, the relative error is much larger:
This corresponds to the automatic setting used by NDSolve: