[go: up one dir, main page]

0% found this document useful (0 votes)
76 views4 pages

Head Tail Simulation

Uploaded by

prazu6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views4 pages

Head Tail Simulation

Uploaded by

prazu6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 4

toss rand() t0 head or tail toss rand() t1

1 0.310275 0.71035531514 head 1 0.897849 0.700485


2 0.918258 0.50699423437 head 2 0.017262 0.517857
3 0.865231 0.38985425046 tail 3 0.565741 0.714632
4 0.170177 0.5809280557 head 4 0.405244 0.131904
5 0.542289 0.59282834677 head 5 0.789319 0.619411
6 0.412121 0.70638097604 head 6 0.67502 0.073126
7 0.898103 0.93345809267 head 7 0.435676 0.537838
8 0.240093 0.65528658497 head 8 0.881858 0.712974
9 0.314789 0.71270438538 head 9 0.157264 0.261577
10 0.922726 0.03991716609 tail 10 0.548685 0.804891

Total Head H 8 Total Head


Total Tail T 2 Total Tail T
head or tail toss rand() t0 head or tail
head 1 0.872628 0.872628 head
head 2 0.898561 0.898561 head
head 3 0.061566 0.061566 tail
tail 4 0.339526 0.339526 head
head 5 0.600193 0.600193 head
tail 6 0.432423 0.432423 head
head 7 0.965837 0.965837 head
head 8 0.138001 0.138001 head
tail 9 0.949287 0.949287 head
head 10 0.390261 0.390261 tail

7 Total Head 8
3 Total Tail T 2
Service Time[minutes] probability Cumulative prob
3 0.3 0.3
6 0.45 0.75
10 0.25 1 FALSE

no. of customers

simulation work
steps Activity
Customers Service Time T0 `=RAND() t0
1 9 0.49064465964299 0.974932
2 9 0.69934814225271 0.944924
3 9 0.83300091995177 0.665178
4 9 0.67902861329235 0.843364
5 3 0.68497435300145 0.082253
6 6 0.82153972410006 0.36743
7 6 0.31101915754651 0.438137
8 3 0.6190650367936 0.174331
9 9 0.94688564537631 0.798726
10 3 0.16674140412687 0.259009
11 3 0.75666511182476 0.176299
12 9 0.65567650490496 0.762224
13 9 0.31004521821332 0.698394
14 3 0.42004684725147 0.122263
15 6 0.61650646922823 0.555748
16 9 0.9804258268155 0.793788
17 6 0.69981567887423 0.409142
18 9 0.42096869851644 0.847818
19 9 0.19834832877588 0.759772
20 3 0.79088498939151 0.132276
21 6 0.16071112709204 0.333802
22 3 0.64766221421609 0.178582
23 9 0.63770745353517 0.631904
24 3 0.83107055679636 0.021489
25 9 0.28713281306338 0.656848

162
Average 163.5
Best case 162
Worst case 165
service time t1 t1 AVG
9 0.649685 0.812309
6 0.384044 0.664484
3 0.182475 0.423826
9 0.707256 0.77531
3 0.047096 0.064675
9 0.783508 0.575469
9 0.830287 0.634212
6 0.382006 0.278168
3 0.192237 0.495481
6 0.463779 0.361394
9 0.679493 0.427896
9 0.750804 0.756514
3 0.232326 0.46536
9 0.860799 0.491531
6 0.542247 0.548997
6 0.301912 0.54785
3 0.289531 0.349336
9 0.820604 0.834211
9 0.932079 0.845926
9 0.887092 0.509684
6 0.379737 0.356769
6 0.346024 0.262303
9 0.98288 0.807392
3 0.081805 0.051647
6 0.411609 0.534229

165

You might also like