Java Number Cruncher
Program 14-2
Generating Exponentially-Distributed Random Numbers
This applet demonstrates two algorithms for generating exponentially-distributed random numbers.
To run the demo:
- Choose an algorithm:
- Logarithm
- von Neumann
- Press the Run button to animate the algorithm.
- Press the Pause button to pause the algorithm, and the Run button to resume it.
- To choose another algorithm, press the Pause button and the Reset button, then choose the algorithm.
