Académique Documents
Professionnel Documents
Culture Documents
Lab1 Simulation
Lab1 Simulation
CallsProbability
0 .05
1 .12
2 .15
3 .25
4 .22
5 .15
6 .06
1.00
The squad classifies each emergency call into one of three categories: minor, regular, or major
emergency. The probability that a particular call will be each type of emergency is as follows:
Emergency TypeProbability
Minor .30
Regular .56
Major .14
1.00
The type of emergency call determines the size of the crew sent in response. A minor emergency
requires a two-person crew, a regular call requires a three-person crew, and a major emergency
requires a five-person crew.
Task
iii) determine the maximum number of crew members that might be needed on any given night.
18 crew members
Calls probabilitie Cumulative Ramdom
s probabilities number
ranges (r1)
0 0.05 0.05 (5) 15
1 0.12 0.17 (17) 617
2 0.15 0.32 1832
3 0.25 0.57 3357
4 0.22 0.79 5879
5 0.15 0.94 8094
6 0.06 1.00 9599,00
18 Minor 2
12 Minor 2
17 Minor 2
2 48 3 89 Major 5 10
18 Minor 2
83 Regular 3
3 08 1 90 Major 5 5
4 05 0 0 0 0
5 89 5 18 Minor 2 14
08 Minor 2
26 Minor 2
47 Regular 3
94 Major 5
6 72 4 62 Regular 3 12
47 Regular 3
68 Regular 3
60 Regular 3
7 88 5 17 Minor 2 13
36 Regular 3
77 Regular 3
48 Regular 3
28 Minor 2
8 31 2 06 Minor 2 5
Regular
68 3
9 39 3 71 Regular 3 8
22 Minor 2
76 Regular 3
10 81 5 88 Major 5 18
94 Major 5
76 Regular 3
23 Minor 2
47 regular 3