Mathematica 9 is now available

NIntegrate

NIntegrate[f, {x, xmin, xmax}] gives a numerical approximation to the integral  .

• Multidimensional integrals can be specified, as in Integrate.
NIntegrate tests for singularities at the end points of the integration range.
NIntegrate[f, {x,  ,  , ... ,  }] tests for singularities at each of the intermediate points  . If there are no singularities, the result is equivalent to an integral from  to  . You can use complex numbers  to specify an integration contour in the complex plane.
• See also:
Integrate, ND, SolveODE.

Examples

Using InstantCalculators

Here are the InstantCalculators for the NIntegrate function. Enter the parameters for your calculation and click Calculate to see the result.

Entering Commands Directly

You can paste a template for this command via the Text Input button on the NIntegrate Function Controller.

Functions that cannot be integrated using algebraic routines can nonetheless be integrated numerically.

There are some functions that will give NIntegrate trouble.

Another way to solve the problem is to make NIntegrate break the integration region into several pieces, with a small piece that explicitly covers the neighborhood of the peak.



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.