Difference between revisions of "Product Command"
From GeoGebra Manual
(added v.4 - needs description) |
|||
Line 1: | Line 1: | ||
− | <noinclude>{{Manual Page|version=4.0}} | + | <noinclude>{{Manual Page|version=4.0}}</noinclude> |
{{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, | + | ; 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.}} |
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.