Probability
1
0.15
2
0.30
3
0.40
4
0.15
1.00
a) Simulate the arrival of cars at the company for 20 arrivals, and compute the average time between arrivals.
Random number: 39, 73, 72, 75, 37, 02, 87, 98, 10, 47, 93, 21, 95, 97, 69, 41, 91, 80, 67, 59.
b) Simulate the arrival of cars at the service station for one hour, and compute the average time between arrivals.
Random number: 65, 71, 20, 17, 48, 89, 18, 83, 08, 90, 05, 89, 18, 08, 26, 47, 94, 06, 72, 40, 62, 47, 68, 60.
2. The time between arrivals of oil tankers at a loading dock at Prudoc Bay is given by the following probability distribution:
The time required to fill a tanker with oil and prepare it for sea is given by the following probability distribution:
Simulate the movement of tanker to and from the single loading dock for the first 20 arrivals. Compute the average time between arrivals, average waiting time to load, and average number of tankers waiting to be loaded.
3. The Jaguh Squad receives an emergency call every 1,2,3,4,5, or 6 hours, according to the following probability distribution.
Time Between Emergency Calls(hr.)
Probability
1
0.05
2
0.10
3
0.30
4
0.30
5
0.20
6
0.05
1.00
Simulate the emergency calls for 3 days (note that this will require a “running”, or cumulative clock) using the random number. Compute the average time between calls and compare this value with the expected value of the time between calls from the probability distribution. Why are the results different?