amario1306619051 / phi-estimator-using-monte-carlo Goto Github PK
View Code? Open in Web Editor NEW## Monte Carlo Pi Estimation using Pygame This repository provides a Python script that demonstrates the estimation of the mathematical constant π (pi) using the Monte Carlo simulation method. The script uses the Pygame library to visualize the simulation process by plotting random points within a quarter circle and determining the ratio of points