Difference between revisions of "RandomUniform Command"

From GeoGebra Manual
Jump to: navigation, search
Line 2: Line 2:
 
{{command|probability}}
 
{{command|probability}}
 
;RandomUniform[ <Min>, <Max> ]
 
;RandomUniform[ <Min>, <Max> ]
:Returns random real number from [[w:Uniform distribution (continuous)|uniform distribution]] on interval [min,max].
+
Returns random real number from [[w:Uniform distribution (continuous)|uniform distribution]] on interval [min,max].
 +
{{Examples|1=<div><code><nowiki>RandomUniform[0, 1]</nowiki></code> yields a number between </div>}}
 +
 
 
{{Note|1=<code>RandomUniform[0,1]</code> is equivalent to <code>random()</code> (see [[Predefined Functions and Operators]]).}}
 
{{Note|1=<code>RandomUniform[0,1]</code> is equivalent to <code>random()</code> (see [[Predefined Functions and Operators]]).}}
 
{{Note|1= See also [[SetSeed Command|SetSeed command]], [[RandomBetween Command|RandomBetween command]], [[RandomElement Command|RandomElement command]],  [[RandomBinomial Command|RandomBinomial command]], [[RandomNormal Command|RandomNormal command]], [[RandomPoisson Command|RandomPoisson command]].}}
 
{{Note|1= See also [[SetSeed Command|SetSeed command]], [[RandomBetween Command|RandomBetween command]], [[RandomElement Command|RandomElement command]],  [[RandomBinomial Command|RandomBinomial command]], [[RandomNormal Command|RandomNormal command]], [[RandomPoisson Command|RandomPoisson command]].}}

Revision as of 09:58, 23 November 2012

© 2024 International GeoGebra Institute