Fundamentals of CS I (CS151 2001S) : Outlines
[Current]
[Discussions]
[Glance]
[Honesty]
[Instructions]
[Links]
[News]
[Search]
[Syllabus]
Primary
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Quizzes]
[Readings]
[Reference]
Sets
[Blackboard]
[Scheme Report]
[SamR's Schedule]
[Rebelsky/Fall 2000]
[Walker/Fall2000]
[Stone/Spring2000]
Links
Reading: Simulation. Lab: Simulation. Back to Pause for Breath. On to Local Procedure Bindings.
Held Monday, March 12, 2001
Summary
Today we consider how to make DrScheme simulate potentially unpredictable events, like the rolling of dice or the flipping of coins.
Due
Assignments
Notes
let. I've
started a short handout.
Overview
random procedure
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
dice
(+ 1 (random 6))
Friday, 12 January 2001
Sunday, 11 March 2001
Back to Pause for Breath. On to Local Procedure Bindings.
[Current]
[Discussions]
[Glance]
[Honesty]
[Instructions]
[Links]
[News]
[Search]
[Syllabus]
Primary
[Examples]
[Exams]
[Handouts]
[Homework]
[Labs]
[Outlines]
[Quizzes]
[Readings]
[Reference]
Sets
[Blackboard]
[Scheme Report]
[SamR's Schedule]
[Rebelsky/Fall 2000]
[Walker/Fall2000]
[Stone/Spring2000]
Links
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 http://www.cs.grinnell.edu/~rebelsky/Courses/CS151/2001S/outline.29.html.
You may validate
this page's HTML.
The source was last modified Sun Mar 11 22:31:01 2001.