prod#
Evaluate a symbolic finite product.
Available in: math cells, REPL.
Syntax#
prod(expression, index, low, high)
prod(array)
Arguments and behavior#
Use four arguments for the symbolic product: an expression, index variable, first index and last index. With an array it multiplies the entries, like the built-in array product. The example returns scalar (number).
Example#
Edit the inputs, then use Run or Reset. Changes stay in this example.
Example
prod("k","k",1,4)Interactive examples could not load. You can still copy the expressions.
Expected result: 24.
See also#
product · summation · sum · max · mean · min · median · std · variance