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.
- Host: GitHub
- URL: https://github.com/diriho/pi-approximation
- Owner: diriho
- Created: 2025-06-10T20:22:04.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2025-06-15T03:59:44.000Z (4 months ago)
- Last Synced: 2025-06-15T04:42:03.946Z (4 months ago)
- Topics: data-visualization, loops-and-iterations, monte-carlo-simulation, python3, random-distributions, vizualisation
- Language: Python
- Homepage: https://hackmd.io/ztS5ALLHTECAZ9_1fcLcrA?view
- Size: 2.93 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 :)