-
Notifications
You must be signed in to change notification settings - Fork 0
/
results.txt
38 lines (30 loc) · 946 Bytes
/
results.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
Study of the probability of outcomes in the following scenario:
There is a choice of 3 outcomes, which are hidden.
1 win scenario
2 lose scenarios.
One outcome is chosen.
Of the two left, a lose scenario is revealed.
The choice is given to switch to the remaining hidden outcome
After choosing, the outcomes are revealed.- Is it better to stay or switch?
Running simulation...
Completed simulation. Results:
OVERALL
Number of runs :1000000
Number of wins :500043
Number of losses :499957
Percentage wins :50.004
Percentage losses :49.996
NOT SWITCHING:
Number of runs :500000
Number of wins :167171
Number of losses :332829
Percentage wins :33.434
Percentage losses :66.566
SWITCHING
Number of runs :500000
Number of wins :332872
Number of losses :167128
Percentage wins :66.574
Percentage losses :33.426
SUMMARY:
Percentage more wins by switching: 199.121