Difference between revisions of "RandomNormal Command"
From GeoGebra Manual
m (Bot: Automated text replacement (-{{command +{{command|cas=true)) |
|||
Line 9: | Line 9: | ||
:Generates a random number from a normal distribution with mean and standard deviation. | :Generates a random number from a normal distribution with 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]].}} |
Revision as of 10:23, 10 June 2012
- RandomNormal[ <Mean>, <Standard Deviation> ]
- Generates a random number from a normal distribution with 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.
Note:
See also RandomBinomial Command and RandomPoisson Command.
CAS Syntax
- RandomNormal[ <Mean>, <Standard Deviation> ]
- Generates a random number from a normal distribution with 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.