Product Command
From GeoGebra Manual
Revision as of 13:44, 30 July 2011 by Andrea.duringer (talk | contribs)
- Product[List of Numbers]
- Calculates the product of all numbers in the list.
- Product[List of Numbers, Number of Elements]
- Calculates the product of the first n list elements.
Example:
Product[{1,2,3,4},3]
gives you the number 6.CAS Specific Syntax
In CAS View only the following syntax is allowed:
- Product[<List of expressions>]
- Calculates the product of all elements in the list.
- Product[<Expression>, <Variable>, <Start>, <End>]
- Calculates the product of the expressions that are obtained by replacing the given variable with every integer from start to end.
- Example:
Product[{1,2,x}]
gives you 2x.Product[x+1, x, 2, 3]
gives you 12.