Download as xls, pdf, or txt
Download as xls, pdf, or txt
You are on page 1of 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

Random Number
Triangular
0.0289086576 10.76038
Use two way table to generate a random number according to the triangle distribution
10.7603769803
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
10.76038 10.76038 10.76038 10.76038 10.76038 10.76038 10.76038
Histogram of the random number generated
Category
11
12
13
14
15
16
17
18
19
20

Frequency
119
0
0
0
0
0
0
0
0
0

Frequency
140
120
100
80

Frequency

60
40
20
0
11 12 13 14 15 16 17 18 19 20

Page 1

You might also like