Difference between revisions of "Product Command"
From GeoGebra Manual
m (capitalization) |
|||
Line 2: | Line 2: | ||
{{command|list}} | {{command|list}} | ||
; Product[List of Numbers]: Calculates the product of all numbers in the list. | ; Product[List of Numbers]: Calculates the product of all numbers in the list. | ||
− | ; Product[List of Numbers, Number of | + | ; Product[List of Numbers, Number of Elements]:Calculates the product of the first ''n'' list elements. |
{{example|1=<code>Product[{1,2,3,4},3]</code> gives you the number 6.}} | {{example|1=<code>Product[{1,2,3,4},3]</code> gives you the number 6.}} |
Revision as of 21:04, 22 March 2011
- 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.