Sei sulla pagina 1di 1

Sheet1

Generating random numbers for triangular distribution


Parameters of distribution
Minimum (a)
Most Likely (c)
Maximum (b)

10
12
20

Standard c (C)

0.2

5
7.5
10

Random Number
Triangular
0.7339458945 15.38651

0.159551

Use two way table to generate a random number according to the triangle distribution
15.386505832
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
15.38651 15.38651 15.38651 15.38651 15.38651 15.38651 15.38651
Histogram of the random number generated
Category
11
12
13
14
15
16
17
18
19
20

Frequency
0
0
0
0
0
119
0
0
0
0

Frequency
140
120
100
80
60
40
20
0

Frequenc y

11 12 13 14 15 16 17 18 19 20

Page 1

6.99719

Potrebbero piacerti anche