This program 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.
The original Java Applets do not run in modern browsers, but you can download the Java code and run it locally on your desktop. Check back for JavaScript and Python versions - coming soon!