MrTob 9fe9c2d7cb | pirms 4 gadiem | |
---|---|---|
build | pirms 4 gadiem | |
dist | pirms 4 gadiem | |
nbproject | pirms 4 gadiem | |
src/montecarlopi | pirms 4 gadiem | |
README.md | pirms 4 gadiem | |
build.xml | pirms 4 gadiem | |
manifest.mf | pirms 4 gadiem |
The circle number π (= 3, 14159265...) can be determined by placing the cursor inside a rectangle in the there’s a circle, randomly generating points. Some are inside the circle, some outside. Pi can then be calculated by the ratio of the total number of points to the points within the circle.