(require (planet "binomial.ss" ("williams" "science.plt") "random-distributions")) (require (planet "discrete-histogram-with-graphics.ss" ("williams" "science.plt"))) (let ((h (make-discrete-histogram))) (do ((i 0 (+ i 1))) ((= i 10000) (void)) (discrete-histogram-increment! h (random-binomial 0.5 20))) (discrete-histogram-plot h "Histogram of Binomial Distribution"))