NSum[f, i, imin, imax] gives a numerical approximation to the sum .
NSum[f, i, imin, imax, di] uses a step di in the sum.
NSum can be used for sums with both finite and infinite limits.
NSum[f, i, ... , j, ... , ... ] can be used to evaluate multidimensional sums.
The following options can be given:
NSum uses either the Euler-Maclaurin (Integrate) or Wynn epsilon (Fit) method.
With the Euler-Maclaurin method, the options AccuracyGoal and PrecisionGoal can be used to specify the accuracy and precision to try and get in the final answer. NSum stops when the error estimates it gets imply that either the accuracy or precision sought has been reached.
You should realize that with sufficiently pathological summands, the algorithms used by NSum can give wrong answers. In most cases, you can test the answer by looking at its sensitivity to changes in the setting of options for NSum.
VerifyConvergence is only used for sums with infinite limits.
N[Sum[ ... ]] calls NSum.
NSum has attribute HoldAll.
See The Mathematica Book: Section 1.6.2, Section 3.9.1 and Section 3.9.4.
Implementation Notes: see section A.9.4.
See also: NProduct.
Related packages: NumericalMath`ListIntegrate`, NumericalMath`NLimit`.
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER
FOR THE LATEST INFORMATION.