Difference between revisions of "RandomNormal Command"

From GeoGebra Manual
Jump to: navigation, search
(command syntax: changed [ ] into ( ))
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|probability}}
{{command|probability}}
+
;RandomNormal( <Mean>, <Standard Deviation> )
;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 mean and standard deviation.
+
:{{example| 1=<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''.}}
:{{example| 1=<div><code><nowiki>RandomNormal[3, 0.1]</nowiki></code> yields a random value in 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>}}
+
{{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]].}}
==CAS Syntax==
 
;RandomNormal[ <Mean>, <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 in 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>}}
 

Latest revision as of 10:21, 11 October 2017

© 2024 International GeoGebra Institute