Difference between revisions of "Product Command"

From GeoGebra Manual
Jump to: navigation, search
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 elements]:Calculates the product of the first ''n'' list elements.  
+
; 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.
© 2024 International GeoGebra Institute