A simple c++ project that approximates the value of pi using the Monte Carlo method. It randomly samples points inside a unit square, checks how many fall within a quarter circle, and uses that ratio to estimate π.
The approximation is plotted using gnuplot to show how the value converges over time.
Here's what the output looks like after running the simulation:
