Skip to content

yathartharora/Monte-Carlo-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Monte-Carlo-Simulation

When in Casino, the longer you play, the chances of you loosing money increases significantly. The odds are not heavily stacked against you, but the Casinos have done masters in human psychology. They know that "winning" is addictive. Hence the mathematics is structured in such a way that you tend to stay longer in the game and the longer you stay, chances of you going broke increases.

This is a simple betting experiment which you can perform yourself to try out different simulations.

The first step is to generate a random number between 1 & 100 and then the rules of the game are as follows -

  1. If the number is between 1 and 50 (both inclusive), the House wins.
  2. If the number is between 51 and 99 (both inclusive), You win.
  3. If the number is exactly 100, the House wins again.

You initially start with $1000 and bet $100 in each round.

Following are the graphs of different number of rounds -

  1. When you play for 10 rounds

Figure_1

  1. When you play for 100 rounds

Figure_2

  1. When you play for 1000 rounds

Figure_3

  1. When you play for 10000 rounds

Figure_4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages