Ah, you’re right. I was thrown off by WolframAlpha saying the integral = π ≈ 3.1416 Both of those should be ≈
(x^2+y^2)=0 is the equation for a circle, so it’s definitely related. Just not quite how I thought.
Comment on Eeeeee
OrganicMustard@lemmy.world 3 months agoThat should be an approximation. To get exactly pi the range of both integrals should be from minus infinity to infinity like this. It’s the integral of the 2D Gaussian, which is fairly known.
Ah, you’re right. I was thrown off by WolframAlpha saying the integral = π ≈ 3.1416 Both of those should be ≈
(x^2+y^2)=0 is the equation for a circle, so it’s definitely related. Just not quite how I thought.
“Fix” it with Lim as eee-> infinity
(where eee is some other e-named variable)
cryoistalline@lemmy.ml 3 months ago
The approximation is only around 4.28*10^-101 off from pi.
www.wolframalpha.com/input?i=integral+from+-a+to+…
www.wolframalpha.com/input?i=(1-erf(e^e)^2)*pi
kata1yst@sh.itjust.works 3 months ago
And because it always bears repeating;
According to JPL’s Chief Engineer for Mission Operations and Science, Marc Rayman-
Let’s go to the largest size there is: the known universe. The radius of the universe is about 46 billion light years. Now let me ask (and answer!) a different question: How many digits of pi would we need to calculate the circumference of a circle with a radius of 46 billion light years to an accuracy equal to the diameter of a hydrogen atom, the simplest atom? It turns out that 37 decimal places (38 digits, including the number 3 to the left of the decimal point) would be quite sufficient.
daqu@feddit.org 3 months ago
So the number 3 should be close enough for home use. Good to know. Thanks!
UnrepententProcrastinator@lemmy.ca 3 months ago
As an engineer, I approve this message!
ulterno@lemmy.kde.social 3 months ago
My maths exam asked me to consider pi=5.