raster.art
SEARCH
Create Account
No wallets connected. Please connect a wallet first.
(π)
michael0x40, 2021 — on fxhash
Platforms
fxhash
Description

3.1415926535....

Computing Pi is deeply routed in human history.

We can get an estimate for pi (π) via randomly placing coins on square containing a circle. The more iterations, the more precise the median (middle) estimate for pi will be.

The greater the precision of pi; the greener the output.

Technicalities and Probabilties (P()):

P(Coin In Circle) ≈ Area Of Circle / Area Of Square = πr^2 / 4r^2 P(Coin In Circle) ≈ π/4

P(Coin in Circle) = extracted from number of coins in the circle vs out, by randomly placing coins: = (coins in circle/ coins out of circle)

P(Coin In Circle) ≈ π/4 π ≈ 4 x (coins in circle ÷ coins out of circle)