Turtle, Observer, Patch

random-gaussian number

Parameters:
number Number standard deviation of Gaussian distribution

Description:
Reports a random number with mean 0 and standard deviation number.

Examples:
random-gaussian 5 returns a random number with mean 0 and standard deviation 5.

Notes:
StarLogo uses the random generator provided by Java, which, as of now, is a linear congruential formula (Knuth Art of Computer Programming, Vol 2, Section 3.2.1.), which uses a 48-bit seed. StarLogo only allows you to set 32 bits of this seed.

Related Commands:
random set-random-seed setrandom-seed