This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.1)
 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]=