Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Numerical Computation / Sums and Products  /
NProduct

  • NProduct[ f , i , imin , imax ] gives a numerical approximation to the product .
  • NProduct[ f , i , imin , imax , di ] uses a step di in the product.
  • See notes for NSum. The options NSumExtraTerms and NSumTerms are replaced by NProductExtraFactors and NProductFactors.
  • See the Mathematica book: Section 1.6.2, Section 3.9.1Section 3.9.4.
  • Related package: NumericalMath`NLimit`.

    Further Examples

    This gives approximations to the factorial function.

    In[1]:=

    Out[1]=

    Here is an exact value that we will use for comparison.

    In[2]:=

    The numerical product is not very accurate.

    In[3]:=

    Out[3]=

    Increasing NProductFactors improves the result.

    In[4]:=

    Out[4]=



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