Professional Documents
Culture Documents
Simulation ( Period 8 )
Presented by
Associate Professor
Generation of Random Observations from a Probability Distribution
• Set F(x) = r and solve for x, which then is the desired random observation from the
probability distribution.
Problem 22.4-3(a)
0.569 53.45
=
0.665 5.25
Problem 22.4-3(b)
0.096 0.1133
= (
0.569 0.737
= 0.665 0.06
-1
Problem 22.4-3(c)
• r x=
• = ( 0.096 46.197
0.569 55.086
• =
0.665 56.310
• +40
Problem 22.4-5
,
b. to generate five random observations c. to identify the three uniform random
numbers
• to serve a customer on each visit has a uniform distribution between 3 minutes and 8 minutes
1
0.8443
0.8178
Uniform random number
0.6505
0.4975
0.0740
0 3 8
7.22
5.49
6.25
3.37
7.09
Service time (minutes)
Problem 22.4-7
b. = = [x] = (x-3)
x=5r+3
r x = 5r + 3
0.6505 6.25
0.0740 3.37
0.8443 7.22
0.4975 5.49
0.8178 7.09
, for
= = -4 ln (1-r) = -2 ln [(1-1-
r x
0.096 29.80 0.096 0.569 1.8851
0.569 53.45 0.665 0.764 5.075
Problem 22.4-13 (continued)
= 4, ,
=4(
x=4(
0.096 0.224 3.428 5.712
0.569 0.950 2.965 3.860
0.665 0.610
0.764 0.145
0.842 0.484
0.492 0.552