StoicPerlman / monty-hall

Proof for the Monty Hall Problem by way of a Monte Carlo Simulation

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

monty-hall

Usage: ./monty-hall.pl [iterations]

Where iterations is a number greater then 0

Description

Proof for the Monty Hall Problem by way of a Monte Carlo Simulation.

This shows that switching doors during a Monty Hall Game results in a 66% chance of winning while keeping your first choice results in a 33% chance of winning.

Monty Hall Problem Description

Monte Carlo Method Description

About

Proof for the Monty Hall Problem by way of a Monte Carlo Simulation


Languages

Language:Perl 100.0%