(require (planet "exponential.ss" ("williams" "science.plt") "random-distributions")) (require (planet "histogram-with-graphics.ss" ("williams" "science.plt"))) (let ((h (make-histogram-with-ranges-uniform 10 0.0 8.0))) (do ((i 0 (+ i 1))) ((= i 10000) (void)) (histogram-increment! h (random-exponential 1.0))) (histogram-plot-scaled h "Scaled Histogram of Exponential Distribution"))