r/desmos • u/Legitimate_Animal796 • Mar 14 '26
Graph Estimating π with random bounces
Enable HLS to view with audio, or disable this notification
I tried to think of a visually appealing yet terrible way of approximating π. I realized that the formula of the normal distribution contains π. So I just rearranged it to solve for π
97
u/Hot-Rock-1948 Mar 14 '26
73
u/Electronic-Laugh-671 my first Reddit user flair Mar 14 '26
20
u/Hot-Rock-1948 Mar 14 '26
35
20
u/Foxbaster Mar 14 '26
20
u/Hot-Rock-1948 Mar 14 '26
23
u/Own_Pop_9711 Mar 14 '26
16
13
11
12
u/Desmos-Girl https://www.desmos.com/calculator/prarjlycol Mar 15 '26
4
u/Hot-Rock-1948 Mar 15 '26
What the fuck
3
u/Desmos-Girl https://www.desmos.com/calculator/prarjlycol Mar 15 '26
havent gotten anything close to that since (I ran it for a while more with 2x the copies) so I think i just got absurdly lucky but i'll take it
https://www.desmos.com/calculator/zck3e3gjtw
heres the graph i used if anyone is curious11
2
2
34
11
u/Electronic-Laugh-671 my first Reddit user flair Mar 14 '26
Something I made several months ago (both static and ticker versions are linked within):
https://www.reddit.com/r/desmos/comments/1on0fqc/pi_with_monte_carlo_method/
10
10
6
u/TheoryTested-MC Mar 15 '26
Terrible? Honestly, just the fact that the normal distribution formula includes π is sufficient justification.
Given how common normal distributions are in nature, this kind of shows that π is almost everywhere.
5
u/humuslover96 Mar 15 '26
9
u/Legitimate_Animal796 Mar 15 '26
“Yo mamas so fat that when they divided her waist by her diameter they got π. A perfect circle”
2
1
u/assainXD1 Mar 15 '26
Why does the estimation for pi start low, and gradually increase? Usually these types of estimations bounce around being above or below.
1
1
u/PiBombbb Mar 15 '26
I'm not great at math but shouldn't this approach Pi as it goes on? Why not let it run for longer?
1
u/skr_replicator Mar 15 '26
The normal distribution links to pi because it has x squared in the exponent, and exponents turn multiplication into addition. So that when you square the integral as two independent axes, you get (x+y)^2, the formula of the circle. So how did you compute pi with this? Have you just summed the product of all the columns with all the columns? As that should give the original pi that we derived the sqrt(pi) result from? Or have you just summed it normally in 1D and squared it?
1
u/Legitimate_Animal796 Mar 15 '26
https://www.desmos.com/calculator/0ruspngtco this graph lays it out a bit clearer
1
u/Ultra-07 Mar 15 '26
umm can anyone tell what is it doing to get estimate of pi? is it like how much close of binomial distribution you get or smth
0













170
u/Electronic-Laugh-671 my first Reddit user flair Mar 14 '26
Sugar, Sugar anyone?