Here are the javascript examples for Modeling a Random Variable, Section 13.4 in our text. You can see the code for these examples by visiting these pages and selecting: View->Page Source from the menu in your Firefox browser. I think it works the same for Internet Explorer and Safari.
http://www.nd.edu/~sbroad/30530SMR08/example-13-6.html
http://www.nd.edu/~sbroad/30530SMR08/example-13-7.html
Advertisement