Question: 1. The time to attend a breakdown call is found to follow exponential with a mean of 2 hours. Generate exponential random variates representing the time to attend.
2. In an art gallery, the arrival of visitors follow Poisson with a mean of 4 per hour. Generate the arrivals for the next I hour.