Share
Explore BrainMass

Monte-carlo simulation of Petroco Service Station

The time between arrivals of cars at the Petroco Service Station is defined by thw following probability distribution.

Time Between Arrivals 9min) Probability

1 .15
2 .30
3 .40
4 .15
= 1.00

A. Simulate the arrival of cars at the service station for 20 arrivals, and cmpute the average time between arrivals.

B. Simulate the arrival of cars at the service station for one hour using a different stream of random numbers from those used in (a), and compute the average time between arrivals.

C. Compare the results obtained in (a) and ( b).

Please show work.

Solution Summary

This posting contains solution to following problem of computing interarrival time using Monte-carlo simulation for Petroco Service Station

$2.19