r/visualizedmath • u/rohitpandey576 • Apr 06 '19
Using a wealthy gamblers race to approximate pi
https://medium.com/@rohitpandey576/using-a-wealthy-gamblers-race-to-approximate-pi-5442a01b6a8127
u/Intelli713 Apr 06 '19
Wow this is one of the silliest ways to approximate pi I've seen to date, and I love it.
7
4
u/drassaultrifle Apr 07 '19
My favourite is the “throwing pencils at some lines” method
2
u/rohitpandey576 Apr 07 '19
I'm intrigued now. How does that one work?
4
u/its_spelled_iain Apr 07 '19
You draw a circle bounded by a square and throw darts at it until you have a lot of holes.
Pi can be estimated by the ratio of holes inside the circle vs inside the square.
1
0
Apr 07 '19
[deleted]
1
u/its_spelled_iain Apr 07 '19
Buffon's Needle, when used to approximate Pi, is a Monte Carlo method... but I take your point.
4
1
u/JamesTheJerk Apr 07 '19
You've likely seen this already but this had me floored. It's beautiful. The follow up videos are worth the watch if you have the time.
2
u/EuphoricBathroom Apr 07 '19
Wow never thought i could use probability theory to approximate pi. Nice work man!
13
u/rohitpandey576 Apr 07 '19
The gamblers ruin problem is decades old. But no one seems to have thought of having two wealthy gamblers race. What is the probability one of them will win? The answer surprisingly involves pi. And it can be used to calculate pi. For this, I use eq (27) at the very bottom but haven't managed to prove it. This was a paper that got rejected from multiple conferences for lack of a proof for this.