2 ms·
I want to try write the underlying code myself, but thanks!
by eddtries 3y ago
I want to try write the underlying code myself, but thanks!
- westurner 3y agogmpy2.const_pi(precision=0: =53bits) probably isn't too helpful then either: https://gmpy2.readthedocs.io/en/latest/mpfr.html#gmpy2.const_pi https://gmpy2.readthedocs.io/en/latest/mpfr.html#gmpy2.const... https://github.com/aleaxit/gmpy/issues/253#issue-499509692 https://github.com/aleaxit/gmpy/issues/253#issue-499509692 RosettaCode has only one solution to the "Approximate Pi with Rationals (not float64s)" in Python problem. I remember having seen a few statistical manifestation of Pi demos on YouTube
- westurner 3y ago"Calculating Pi with Darts by Physics Girl [and Veritasium Derek] (PBS LearningMedia)" https://youtube.com/watch?v=M34TO71SKGk https://youtube.com/watch?v=M34TO71SKGk Monte Carlo method: https://en.wikipedia.org/wiki/Monte_Carlo_method https://en.wikipedia.org/wiki/Monte_Carlo_method "Inferred value of Pi is never 3.1415" (with pymc) https://discourse.pymc.io/t/inferred-value-of-pi-is-never-3-1415/6722 https://discourse.pymc.io/t/inferred-value-of-pi-is-never-3-... https://github.com/pymc-devs/pymc https://github.com/pymc-devs/pymc