examples/bernoulli-example.ss
(require (planet "bernoulli.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-bernoulli .6)))
  (discrete-histogram-plot h "Histogram of Bernoulli Distribution"))