Examples.Probability
Class GamblersFortune

java.lang.Object
  extended byExamples.Probability.GamblersFortune

public class GamblersFortune
extends java.lang.Object

Console program setting up a biased random walk X and checking the * gambler's expected winnings (losses really) and the probability of losing it * all under the following stopping rule:

* *

Stop after 20000 throws or if you are 5 ahead or 100 down, whichever *comes first.

* * @author Michael J. Meyer


Constructor Summary
GamblersFortune()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GamblersFortune

public GamblersFortune()
Method Detail

main

public static void main(java.lang.String[] args)