Skip to content

A simple project that approximates PI with using random points that are either inside or outside a circle.

Notifications You must be signed in to change notification settings

JoeyFerg/pi-approximation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

pi-approximation

This is a simple project that approximates PI with using random points that are either inside or outside a circle.

The circle is not actually drawn, but a random point is calculated to be inside or outside of the "circle". Then, the number of points inside the circle is divided by the total number of points.

As the number of points tested increases, you will get closer and closer to PI!

About

A simple project that approximates PI with using random points that are either inside or outside a circle.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages