Wolfram ResearchPRODUCTSPURCHASEFOR USERSCOMPANYOUR SITES
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.

Documentation / Mathematica / The Mathematica Book / A Practical Introduction to Mathematica / Numerical Mathematics /

1.6.2 Numerical Sums, Products and Integrals

Numerical sums, products and integrals.

Here is a numerical approximation to .

In[1]:= NSum[1/i^3, {i, 1, Infinity}]

Out[1]=

NIntegrate can handle singularities at the end points of the integration region.

In[2]:= NIntegrate[1/Sqrt[x (1-x)], {x, 0, 1}]

Out[2]=

You can do numerical integrals over infinite regions.

In[3]:= NIntegrate[Exp[-x^2], {x, -Infinity, Infinity}]

Out[3]=

Here is a double integral over a triangular domain. Note the order in which the variables are given.

In[4]:= NIntegrate[ Sin[x y], {x, 0, 1}, {y, 0, x} ]

Out[4]=



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information


 © 2009 Wolfram Research, Inc.  Terms of Use  Privacy Policy | [ja] |
Sign up for our newsletter: