Chapter 03 - Modeling Random Variables for Simulation
Chapter 03 - Modeling Random Variables for Simulation
Modeling
Random
Variables for
Simulation
Chapter 3
X=rand(1,2)
X =
0.45125 0.14433
0 ≤rand(1,1)<1
0 ≤3*rand(1,1)<3
1 ≤1+(4-1)*rand(1,1)<4
A random real value in [a,b[: a + (b-a)*rand()
ans =
1+3*rand(1,1)
ans =
2.6416
Density of probability
In case of
Uniform rule
• The Variance Var() = (), being the square of standard
deviation, is defined as:
In case of
Uniform rule
This means that the probability that the phenomenon lasted at least
units of time knowing that it has already lasted units of time will be
the same as the probability of lasting units of time from its initial
activation.
• ----------------------------------------------------------
• Density Distribution function f(x)
• E(X), Var(X) ?