Task

Generate a collection filled with   1000   normally distributed random (or pseudo-random) numbers
with a mean of   1.0   and a   standard deviation   of   0.5



Many libraries only generate uniformly distributed random numbers. If so, you may use one of these algorithms.



Related task

   Standard deviation


to random.float   ; 0..1
  localmake "max.int lshift -1 -1
  output quotient random :max.int :max.int
end
 
to random.gaussian
  output product cos random 360  sqrt -2 / ln random.float
end
 
make "randoms cascade 1000 [fput random.gaussian / 2 + 1 ?] []