2015-02-20 00:35:01 -05:00
{{omit from|GUISS}}
{{omit from|UNIX Shell|From the shell, we simply invoke the awk solution}}
2013-04-10 23:57:08 -07:00
2016-12-05 22:15:40 +01:00
;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'''
2015-02-20 00:35:01 -05:00
2020-02-17 23:21:07 -08:00
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]].
2015-02-20 00:35:01 -05:00
2016-12-05 22:15:40 +01:00
;Related task:
* [[Standard deviation]]
<br><br>