Two bullet roulette: Difference between revisions

use blockquote to ensure visibility of all the text
(use blockquote to ensure visibility of all the text)
Line 2:
 
The following is supposedly a question given to mathematics graduates seeking jobs on Wall Street:
<blockquote>
 
A revolver handgun has a revolving cylinder with six chambers for bullets.
It is loaded with the following procedure:
 
1. Check the first chamber to the right of the trigger for a bullet. If a bullet
is seen, the cylinder is rotated one chamber clockwise and the next chamber
checked until an empty chamber is found.
 
2. A cartridge containing a bullet is placed in the empty chamber.
 
3. The cylinder is then rotated one chamber clockwise.
Line 30 ⟶ 33:
A. Spinning the cylinder after loading the first bullet, and spinning again after the first shot.
 
B. Spinning the cylinder after loading the first bullet only.
 
C. Spinning the cylinder after firing the first shot only.
 
D. Not spinning the cylinder either after loading the first bullet or after the first shot.
E. The probability is the same for all cases.
 
E. The probability is the same for all cases.
 
</blockquote>
;Task:
# Run a repeated simulation of each of the above scenario, calculating the percentage of suicide with a randomization of the four spinning, loading and firing order scenarios.
2,442

edits