So this is just an Ai produced meme?
38 digits of pie gives youv an error of less then a hydrogen atom in the circumference of the known universe.
https://www.jpl.nasa.gov/edu/news/how-many-decimals-of-pi-do-we-really-need/
Electrical engineer. Never used 3. Always 3.14. don't really get the joke.
I've seen some blueprints who use 3.5. I guess it's close enough but definitely not too small
Using 1 is fun. That means the circumference of a circle is equal to its diameter.
Isn't this functionally true for objects on the infinite focal plane? I.e. a star? Betelgeuse might actually be huge in absolute terms, but from earth, and even in a large telescope, it's still a pinpoint whose circumference is not meaningfully distinct from its diameter.
Euclidean geometry enjoyers in shambles
As a retired mechanical engineer, the joke is that we don't really remember the value of Pi, but we think it's somewhere around 3. But maybe we should use 4 just to be safe.
In any case, I have to remember 3.14 because one of my Daughters was born on Pi Day. Which, according her, is the second most important day of the year, just right behind Christmas Day, when she was growing up. So when she got into high school that meant that we had to bring enough pie to be served in each of her math classes on that day. (Oddly enough she prefers cheese cake over pie on her Birthday).
Now I'm not saying being born on Pi Day influenced her life any, but she has a PhD in Mech Engineering.
Good news for her. Cheese cake is a pie not a cake.
This made my day.
Solidifies my preference for pie over cake
Theres a YouTube video where the presenter demonstrates DOOM running (or not) with varying values of Pi that's quite interesting: Non Euclidean DOOM
You sound like an involved and caring father. Rock on, dude
38 digits of pi can get the circumference of the visible universe to within a single hydrogen atom.
10 digits gets the diameter of the earth to within an inch.
Thank you for subscribing to Daily Spacey Math Facts
10 digits gets the diameter of the earth to within an inch.
Put another way, 10 digits means that your error will be caused by your imprecise model of the Earth's shape, rather than imprecision in the value of pi.
The real comment mvp. You deserve every positive vote my post got
And just two digits introduces less error than your average terrible model
Wow, what do you have against models? I mean, I know that the trope is that they aren't very smart, but the same trope applies to firemen, so why pick on models?
old man voice this must be that ragebait thing the youngsters are always talking about
Firemen are way hotter
Computer science: pi is O(1)
Is it actually? I'll admit im pretty rusty on time complexity, but naively I'd think that pi being irrational would technically make even reading or writing it from memory an undecidable problem
It's a number and complexity refers to functions. The natural inclusion of numbers into functions maps pi to the constant function x -> pi which is O(1).
If you want the time complexity of an algorithm that produces the nth digit of pi, the best known ones are something like O(n log n) with O(1) being impossible.
If you're trying to calculate it, then it's quite difficult.
If you just want to use it in a computer program, most programming languages have it as a constant you can request. You get to pick whether you want single or double precision, but both are atomic (a single instruction) on modern computers.
Do said atomic instructions produce pi though, or some functional approximation of pi? I absolutely buy that approximate pi is O(1), but it still seems like a problem involving a true irrational number should be undecidable on any real turing machine
The "true value of pi" is too large for any computer to store. Our current understanding of numbers says it's an infinite number of digits. On the other hand, any number you use to multiply with pi is far less than an infinite number of digits. So you get the correct answer, with no worse precision than your input value, using the approximations of pi.
What would be the "n" in that Big O notation, though?
If you're saying that you want accuracy out to n digits, then there are algorithms with specific complexities for calculating those. But that's still just an approximation, so those aren't any better than the real-world implementation method of simply looking up that constant rather than calculating it anew.
I guess n would be infinite in the limit I'm looking for. I'm looking at this in like a "musing about theoretical complexity" angle rather than actually needing to use or know how to use pi on modern systems.
For the record, I realize how incredibly pedantic I'm being about the difference between the irrational pi and rational approximations of pi that end up being actually useful. That being said, computational complexity has enough math formalism stink on it that pedantry seems encouraged
It's usually a constant (or several ones with varying degrees of accuracy and size)
It all depends on the precision you need. You could use an infinite series to get to the precision needed but for most use-cases it’s just a double baked into the binary itself, hence O(1)
I use 3 ^16^/~113~
At least do 22/7
(355/113)/ pi = 1.0000000849136...
That's way more numbers to remember than 1/7 above 3
You're a monster. I love it
Only basic math. You can convert Pi even more precise, but I think to 6 decimals is enough.
as an engineer, a lot of languages (even proprietary ones) have a built-in constant pi variable because it is so ubiquitous - its easier and more readable to use pi than 3........
I've also never seen a fellow engineer simplify pi to just 3, although I have seen a rise of memes from people who think they do.
I would slap someone if I saw them try that, it's unnecessarily sloppy. 3.14 is the default, and trivial to work with if you're using a calculator (I would also slap someone if I saw them not using a calculator). Unless you just LIKE having all your calculations be off by almost 5%. Then you'll come back wondering why so many of your parts are out of tolerance.
Science Memes
Welcome to c/science_memes @ Mander.xyz!
A place for majestic STEMLORD peacocking, as well as memes about the realities of working in a lab.
Rules
- Don't throw mud. Behave like an intellectual and remember the human.
- Keep it rooted (on topic).
- No spam.
- Infographics welcome, get schooled.
This is a science community. We use the Dawkins definition of meme.
Research Committee
Other Mander Communities
Science and Research
Biology and Life Sciences
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- !reptiles and [email protected]
Physical Sciences
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
- [email protected]
Humanities and Social Sciences
Practical and Applied Sciences
- !exercise-and [email protected]
- [email protected]
- !self [email protected]
- [email protected]
- [email protected]
- [email protected]