An open API service indexing awesome lists of open source software.

https://github.com/diriho/pi-approximation

Pi approximulation using the Monte Carlo Simulation🥧🥧 This python program approximate pi - 𝛑 depending on the number of dots entered. The more dots entered, the better the approximation is.
https://github.com/diriho/pi-approximation

data-visualization loops-and-iterations monte-carlo-simulation python3 random-distributions vizualisation

Last synced: 4 months ago
JSON representation

Pi approximulation using the Monte Carlo Simulation🥧🥧 This python program approximate pi - 𝛑 depending on the number of dots entered. The more dots entered, the better the approximation is.

Awesome Lists containing this project

README

          

Pi approximulation using the Monte Carlo Simulation🥧🥧

This python program approximate pi - 𝛑 depending on the number of dots entered. The more dots entered, the better the approximation is.
This repo has two different version, where the first version only focus to visualizing the Monte Carlo simulation using a square and a circle, while the second version deals basically with visualizing how closer we get to the actual value of pi as we increase the number of trials that we do. Feel free to try out different num_trials and see the magic happen :)