Back to functions

product


product

Calculates the product of an expression from lower to upper limit. Works both numerically and algebraically.

Usage: nerdamer("product(expression, index, lower, upper)")


Parameters

expression expression Returns the appropriate value if possible otherwise it returns the function with the simplified expression
expression index The index
expression lower Starting index
expression upper Ending index

Returns

Expression

EXAMPLES:
var x = nerdamer('product(x+1, x, 1, 20)');
console.log(x.toString())
var y = nerdamer('product(x+y, x, 1, 5)');
console.log(y.toString());
OUTPUT:
Back to functions