Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2004/iii/paper-40/3/ii/solution

For rate , return
For , , so has the exponential distribution of rate . This is inverse transform sampling; using is equivalent. Uniform draws at exact endpoints can be excluded, since those events have probability zero under the ideal continuous law.

New to topics? Read the docs here!