Docsity

Practice Examination - Discrete System Simulation | OR 635, Exams of Operational Research

Toggle sidebar
bg1
Department of Systems Engineering & Operation Research
George Mason University
OR 635 Discrete System Simulation
Prof. Chun-Hung Chen Fall 2008
Practice Examination
Discussion: 7:20 pm, Tuesday, October 21
1. Develop a generator for the following density function:
0.5
-2 -1 0 1 2 x
f(x)
(a) Use Acceptance-Rejection Method,
(b) Use Inverse Transform Method,
(c) Use Composition Method
2. Give an algorithm to generate X, which is a discrete random variate
P(X=1) = 0.05
P(X=2) = 0.1
P(X=3) = 0.1
P(X=4) = 0.3
P(X=5) = 0.45
3. This question is about generation of Normal random variates. Suppose you are given two
Uniform random numbers 0.1 and 0.5. Please use these two numbers to generate two
normal N(2, 12) random variates using the original Polar method.
1
pf3
pf4

Partial preview of the text

Download Practice Examination - Discrete System Simulation | OR 635 and more Exams Operational Research in PDF only on Docsity!

Department of Systems Engineering & Operation Research George Mason University

OR 635 Discrete System Simulation

Prof. Chun-Hung Chen Fall 2008

Practice Examination

Discussion: 7:20 pm, Tuesday, October 21

1. Develop a generator for the following density function:

-2 -1 0 1 2 x

f ( x )

(a) Use Acceptance-Rejection Method, (b) Use Inverse Transform Method, (c) Use Composition Method

2. Give an algorithm to generate X, which is a discrete random variate

P(X=1) = 0. P(X=2) = 0. P(X=3) = 0. P(X=4) = 0. P(X=5) = 0.

3. This question is about generation of Normal random variates. Suppose you are given two Uniform random numbers 0.1 and 0.5. Please use these two numbers to generate two normal N(2, 1^2 ) random variates using the original Polar method.

4. Suppose you are asked to simulate a network and analyze the mean system time. After you have obtained 1000 observations, the 90% confidence interval is [0.8, 1.2]. If our goal is to obtain a 80% confidence interval [0.9, 1.1], do you need to run more simulations for additional observations? If not, please explain. If so, approximately, how many additional observations do you have to get? (Critical points: z (^) 0.8 = 0.8, z (^) 0.9 = 1.2, z (^) 0.95 = 1.6, z (^) 0.975 = 2.0, z (^) 0.99 = 2.3).

System States Event List t e' x 1 x 2 x 3 x 4 a1 a2 d1 d2 d 0 INI 0 0 0 0 20 21 20 a1 1 0 0 0 40 21 25