A very simple way to find pi must be to; Create a square on your computer with sides that are 1 (cm, m .. whateever) each. Then you create a 1/4 of a circle in the square. Then the area of the circle must be pi/4. Then create a program that randomize numbers that are 0<y<1 0<x<1 and let the numbers create small dots on the screen. you can then calculate a very exactly number of pi