(require (planet "gaussian-tail.ss" ("williams" "science.plt") "random-distributions")) (require (planet "histogram-with-graphics.ss" ("williams" "science.plt"))) (let ((h (make-histogram-with-ranges-uniform 40 16.0 22.0))) (do ((i 0 (+ i 1))) ((= i 10000) (void)) (histogram-increment! h (random-gaussian-tail 16.0 10.0 2.0))) (histogram-plot h "Histogram of Gaussian Tail Distribution")) (let ((h (make-histogram-with-ranges-uniform 40 3.0 6.0))) (do ((i 0 (+ i 1))) ((= i 10000) (void)) (histogram-increment! h (random-unit-gaussian-tail 3.0))) (histogram-plot h "Histogram of Unit Gaussian Tail Distribution"))