Held Monday, March 12, 2001
Today we consider how to make DrScheme simulate potentially unpredictable events, like the rolling of dice or the flipping of coins.
let. I've started a short handout.
random, to provide some fodder for simulations and any other times that you want to play with unpredictable behavior.
(random n)produces an "unpredictible" number in the range [0 .. n-1].
dieis the singular of
(+ 1 (random 6))
Friday, 12 January 2001
Sunday, 11 March 2001
Disclaimer: I usually create these pages on the fly. This means that they are rarely proofread and may contain bad grammar and incorrect details. It also means that I may update them regularly (see the history for more details). Feel free to contact me with any suggestions for changes.
This page was generated by Siteweaver on Wed May 5 12:15:02 2004.
This page may be found at
You may validate this page's HTML.
The source was last modified Sun Mar 11 22:31:01 2001.