Extracting Pi from Image Data
Extracting Pi from Image Data
In 1881, Ernesto Cesàro[1] proved that the probability that two random integers are relatively prime is . In this Demonstration, the pairs of random integers are chosen from among the pixel values of selected images.
6/≈0.61
2
π
Using enough random pairs of pixel data from almost any sufficiently complex picture gives an approximation of with between 1 and 4 correct digits.
π
References
References
External Links
External Links
Permanent Citation
Permanent Citation
Erik Mahieu
"Extracting Pi from Image Data"
http://demonstrations.wolfram.com/ExtractingPiFromImageData/
Wolfram Demonstrations Project
Published: February 15, 2013