Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: <MWcybercourse@xxxxxxxxxxxxxxx>
Subject: RE: variables
From: "mike sandy" <mjsandy@xxxx>
Date: Sat, 3 Nov 2001 18:16:08 -0000

Wendy,
You wrote:
>>You have piqued my curiosity, Mike. Would you be willing to share
with us your project using a slider in connection with generating
100,000 random samples? (either a description or the code or the
>>project itself as an attachment).

I doubt it is of much interest to anyone else. The program plots
the binomial distribution (theoretical distribution - (p + q)^n).
Where p is the probability an event will occur and n is the number of times 
the event
could occur. In terms of the Galton board, which has been discussed recently, 
the event could be a ball moving to the left on hitting a pin, p=50%,
and n is the number of pins a ball will hit on its descent.

In terms of the sliders in the program:
n = range
p = prob
num.sam = number of balls falling/1000.
The larger n the larger num.sam to give a smooth plot.

Mike

Attachment: binomial_plot1.mw2
Description: Binary data


  • Previous by thread: RE: variables
  • Next by thread: dotimes

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008