Difference between revisions of "RandomBetween Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
{{command|cas=true|probability}} | {{command|cas=true|probability}} | ||
− | ; RandomBetween[ | + | ; RandomBetween[ <Minimum Integer> , <Maximum Integer> ]: Generates a random integer between ''min'' and ''max'' (inclusive). |
{{Note|1= See also [[SetSeed Command|SetSeed command]], [[RandomElement Command|RandomElement command]], [[RandomBinomial Command|RandomBinomial command]], [[RandomNormal Command|RandomNormal command]], [[RandomPoisson Command|RandomPoisson command]], [[RandomUniform Command|RandomUniform command]].}} | {{Note|1= See also [[SetSeed Command|SetSeed command]], [[RandomElement Command|RandomElement command]], [[RandomBinomial Command|RandomBinomial command]], [[RandomNormal Command|RandomNormal command]], [[RandomPoisson Command|RandomPoisson command]], [[RandomUniform Command|RandomUniform command]].}} | ||
+ | |||
+ | {{betamanual|version=4.2| | ||
+ | 1=; RandomBetween[ <Minimum Integer> , <Maximum Integer> , <Boolean Fixed> ] | ||
+ | : If <Boolean Fixed> = "true", it generates a random integer between ''min'' and ''max'' (inclusive), which is updated just once (when file is loaded and also when undo/redo). | ||
+ | {{note|Press <F9> to see the difference between those two syntaxes.}} | ||
+ | }} |
Revision as of 15:25, 25 June 2012
- RandomBetween[ <Minimum Integer> , <Maximum Integer> ]
- Generates a random integer between min and max (inclusive).
Note: See also SetSeed command, RandomElement command, RandomBinomial command, RandomNormal command, RandomPoisson command, RandomUniform command.
Following text is about a feature that is supported only in GeoGebra 4.2.
Note: Press <F9> to see the difference between those two syntaxes. |