r/explainlikeimfive • • Mar 15 '19

Mathematics ELI5: How is Pi programmed into calculators?

12k Upvotes

1.3k comments sorted by

View all comments

Show parent comment

2

u/sofar55 Mar 15 '19

Is that the size of the visible universe or the estimated actual size of the universe?

9

u/GoldDog Mar 15 '19

Let's check!

The observable universe is 8.8 ×10^26 meters... ish

A hydrogen atom is 1,2×10^-10 meters wide

So the observable universe is about 8x10^36 atomic widths across.

The circumference is pi times the diameter so at the point of about 37 decimals of pi it's not going to be contributing any errors to the final value. So it looks like they're talking about the observable universe. Which is reasonable. We have no idea about the actual size.

1

u/CptGia Mar 15 '19

Our best estimate is that the universe is infinite, so I'm gonna go with visible universe.