Translations:Estimando PI utilizando Monte Carlo/13/en
Ir para navegação
Ir para pesquisar
The width of the square is the same as two times the circle’s radius. So we can describe the square’s diameter as two times the radius squared. We will take the ratio of points inside the circle to outside and multiply by 4. This will give us an approximation of PI.