Back to functions

sum


summation

Sums an expression from lower to upper limit. Works both numerically and algebraically.


Usage: nerdamer("sum(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 of summation
expression lower Starting index
expression upper Ending index

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