A Monte Carlo calculator for pi. Generates random coordinates in quadrants I and II and sees if they fall within 1 unit of (0, 0).
The amount that fall within 1 unit are counted in a parallelized for loop, and pi is calculated with hits / throws.
This repository was archived by the owner on Dec 11, 2024. It is now read-only.
egelja/RandCircleAreaCalculator
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|