λ = 1
Table 1. Exponential cumulative distribution.
| CDF(X) |
| X Input |
P Output |
| 0 |
0 |
| 0.5 |
0.39346934028737 |
| 1 |
0.63212055882856 |
| 1.5 |
0.77686983985157 |
| 2 |
0.86466471676339 |
| 2.5 |
0.9179150013761 |
| 3 |
0.95021293163214 |
| 3.5 |
0.96980261657768 |
Table 2. Exponential inverse cumulative distribution.
| ICDF(P) |
| P Input |
X Output |
| 0 |
0 |
| 0.39346934028737 |
0.5 |
| 0.63212055882856 |
1 |
| 0.77686983985157 |
1.5 |
| 0.86466471676339 |
2 |
| 0.9179150013761 |
2.5 |
| 0.95021293163214 |
3 |
| 0.96980261657768 |
3.5 |
Table 3. Exponential variates generated using inverse cdf method.
| RNG via ICDF(U) |
| Counter |
Rnd Vals |
| 1 |
2.0647009413834 |
| 2 |
1.2840077670733 |
| 3 |
1.0411484558953 |
| 4 |
2.156081397087 |
| 5 |
1.3126261362197 |
| 6 |
1.7828065608815 |
| 7 |
0.51048718114405 |
| 8 |
1.3684433278584 |
Table 4. Exponential variates generated using RNG method.
| RNG via RNG(N) |
| Counter |
Rnd Vals |
| 1 |
0.068490671417152 |
| 2 |
0.58173290250945 |
| 3 |
0.62969793310737 |
| 4 |
0.7849623917437 |
| 5 |
1.2445456256535 |
| 6 |
1.0307977099114 |
| 7 |
0.80384726003325 |
| 8 |
0.36797835366756 |
Source of ExponentialDistribution.php