This program demonstrates two algorithms for generating exponentially-distributed random numbers.
To run the demo:
- Choose an algorithm:
- 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.