RandomUniform Command

From GeoGebra Manual
Revision as of 11:24, 11 October 2017 by Mathmum (talk | contribs) (command syntax: changed [ ] into ( ))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


RandomUniform( <Min>, <Max> )
Returns random real number from uniform distribution on interval [min, max].
Example: RandomUniform(0, 1) returns a random number between 0 and 1
RandomUniform( <Min>, <Max>, <Number of Samples n> )
Returns a list of n random real numbers from uniform distribution on interval [min, max].
Example: RandomUniform(0, 1, 3) returns a list of three random numbers between 0 and 1


Notes:
© 2024 International GeoGebra Institute