Skip to content

TrigonaMinima/Monte-Carlo-Sims

Repository files navigation

Monte Carlo Sims

Learning the conceps of Monte Carlo (MC) simulations and coding some simulations along the way. Following is the list of sims done till now.

Simple Monte Carlo (Crude Monte Carlo)

  1. Pi estimation: Really inefficient way to find an approximate value of pi, but good for a starting point. [estimate_pi.py, estimate_pi_numpy.py]
  2. Nagel Schreckenberg Traffic: A simulation of a very simple traffic situation where, even though the initial conditions are simple we observe some traffic jams. [nagel_schreckenberg_traffic.py]
  3. Interpoint Distance: Average time taken b/w 2 points when there are 2 routes - direct or expressway. [interpoint_distance.py]

Dependencies

  • Python 3.6
  • numpy
  • matplotlib

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages