ATAT Innovation Labs

AT-FS08 · Maths in code

Monte Carlo Estimation of Pi

Throws random points at a square and circle to estimate pi, with a live picture of the points.

Get the cost on WhatsApp

Suits
1st year
Branches
CSE, ISE, AIML
Type
Software

How it works

The program places random points inside a square that has a quarter circle drawn in it. Points that fall inside the circle are counted separately. The ratio of points inside the circle to the total, multiplied by four, gives an estimate of pi. The points appear live on screen, and a graph shows the estimate getting closer to the true value as the number of points grows.

What it does

  • Live animation
  • Accuracy against sample size
  • Result graph

Built with

Python, Matplotlib

What you get

  • Working software with full source code
  • Steps to install and run it on your laptop
  • Rough report and explanation of the working
  • Live demo on video call before the final payment

Good to know

  • Features are as listed here. Anything extra is quoted separately.
  • Runs on a normal laptop unless we tell you otherwise.
  • Full reports and PPTs are not included.

Similar projects