Difference between revisions of "RandomNormal Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 2: Line 2:
 
{{command|cas=true|probability}}
 
{{command|cas=true|probability}}
 
;RandomNormal[ <Mean>, <Standard Deviation> ]
 
;RandomNormal[ <Mean>, <Standard Deviation> ]
:Generates a random number from a normal distribution with 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=<div>See also [[RandomBinomial Command]] and [[RandomPoisson Command]].</div>}}
 
 
==CAS Syntax==
 
==CAS Syntax==
 
;RandomNormal[ <Mean>, <Standard Deviation> ]
 
;RandomNormal[ <Mean>, <Standard Deviation> ]
:Generates a random number from a normal distribution with 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 14:11, 15 July 2013



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.

CAS Syntax

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.
© 2024 International GeoGebra Institute