Difference between revisions of "RandomNormal Command"
From GeoGebra Manual
m (removed CAS syntax) |
m (Text replace - ";(.*)\[(.*)\]" to ";$1($2)") |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|probability}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|probability}} | ||
− | ;RandomNormal | + | ;RandomNormal( <Mean>, <Standard Deviation> ) |
:Generates a random number from a normal distribution with given mean and standard deviation. | :Generates a random number from a normal distribution with given mean and standard deviation. | ||
:{{example| 1=<div><code><nowiki>RandomNormal[3, 0.1]</nowiki></code> yields a random value from a normal distribution with a mean of ''3'' and standard deviation of ''0.1''.</div>}} | :{{example| 1=<div><code><nowiki>RandomNormal[3, 0.1]</nowiki></code> yields a random value from a normal distribution with a mean of ''3'' and standard deviation of ''0.1''.</div>}} | ||
{{Note|1= See also [[SetSeed Command|SetSeed command]], [[RandomBetween Command|RandomBetween command]], [[RandomElement Command|RandomElement command]], [[RandomBinomial Command|RandomBinomial command]], [[RandomPoisson Command|RandomPoisson command]], [[RandomUniform Command|RandomUniform command]].}} | {{Note|1= See also [[SetSeed Command|SetSeed command]], [[RandomBetween Command|RandomBetween command]], [[RandomElement Command|RandomElement command]], [[RandomBinomial Command|RandomBinomial command]], [[RandomPoisson Command|RandomPoisson command]], [[RandomUniform Command|RandomUniform command]].}} |
Revision as of 17:16, 7 October 2017
- RandomNormal( <Mean>, <Standard Deviation> )
- Generates a random number from a normal distribution with given mean and standard deviation.
- Example:
RandomNormal[3, 0.1]
yields a random value from a normal distribution with a mean of 3 and standard deviation of 0.1.