Product Command

From GeoGebra Manual
Revision as of 21:21, 9 March 2013 by Zbynek (talk | contribs) (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
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.
Product[ <List of Numbers>, <List of Frequencies> ]
Calculates the product of all elements in the list raised to the value given in the list of frequencies for each one of them.
Examples:
Product[ {20, 40, 50, 60}, {4, 3, 2, 1} ] yields 1536000000000000
Product[ {sqrt(2), cbrt(3), sqrt(5), cbrt(-7)}, {4, 3, 2, 3} ] yields -420
Note: The two lists must have the same length.

CAS Specific Syntax

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