15 lines
582 B
Plaintext
15 lines
582 B
Plaintext
{{omit from|GUISS}}
|
|
{{omit from|UNIX Shell|From the shell, we simply invoke the awk solution}}
|
|
|
|
;Task:
|
|
Generate a collection filled with '''1000''' normally distributed random (or pseudo-random) numbers
|
|
with a mean of '''1.0''' and a [[wp:Standard_deviation|standard deviation]] of '''0.5'''
|
|
|
|
|
|
Many libraries only generate uniformly distributed random numbers. If so, you may use [[wp:Normal_distribution#Generating_values_from_normal_distribution|one of these algorithms]].
|
|
|
|
|
|
;Related task:
|
|
* [[Standard deviation]]
|
|
<br><br>
|