Product Command

From GeoGebra Manual
Revision as of 13:44, 10 September 2011 by Bot (talk | contribs) (Bot: Automated text replacement (-{{command +{{command|cas=true))
Jump to: navigation, search



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] yields 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.
Example:
Product[{1, 2, x}] yields 2x.
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[x + 1, x, 2, 3] yields 12.
© 2024 International GeoGebra Institute