Difference between revisions of "Product Command"

From GeoGebra Manual
Jump to: navigation, search
m (Bot: Automated text replacement (-{{command +{{command|cas=true))
Line 14: Line 14:
 
:Calculates the product of the expressions that are obtained by replacing the given variable with every integer from ''start'' to ''end''.
 
:Calculates the product of the expressions that are obtained by replacing the given variable with every integer from ''start'' to ''end''.
 
:{{example|1=<div><code><nowiki>Product[x + 1,  x,  2, 3]</nowiki></code> yields ''12''.</div>}}
 
:{{example|1=<div><code><nowiki>Product[x + 1,  x,  2, 3]</nowiki></code> yields ''12''.</div>}}
 +
 +
{{betamanual|version=4.2|
 +
1=; Product[ <List of Numbers>, <List of Frequencies> ]
 +
: This allows the location of the Text to be specified.
 +
}}

Revision as of 12:15, 8 October 2012



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