• IHeartBadCode@kbin.social
    link
    fedilink
    arrow-up
    8
    ·
    9 months ago

    The observable universe: The most of the Universe that we can see from Earth. There’s more universe past what we can see (we think) but we just can’t see it.

    Circumference of the observable universe: We can only see so far out into space from Earth in all directions, so that makes a circle that has Earth at the center of it. That circle has a circumference, which is the length of that circle if you were to actually walk it.

    Calculate circumference: We calculate circumference with the formula 2πr, where r is the radius, the distance from Earth to any one point along that circle we just talked about.

    Pi: Pi is irrational and goes on forever. If you calculate the circumference with only five digits of pi, there’s a bit of a “rounding” error in your calculation. If you want a more accurate value, you add in more digits of pi. The more digits you add, the more accurate you are.

    Accuracy of 1 hydrogen atom: so the furthest we can see out is 46.508 billion light years (I’m not going to get into how we can see that far with a universe that is only 14 and some change billion years old, but we can). So 46.508 * pi * 2 = 292.218382266 billion light years. That’s how long the path would be if you were to walk the edge of the observable universe. In meters that would 2.7645993537522 * 10^27.

    If you used 5 digits of Pi you would be off by something like 100s of lightyears, or basically billions of meters. If you use 40 digits of pi you would be off by 120pm or 0.000000000012 meters. So for most things, 40 digits of pi is accurate enough for pinpointing any particular atom within the universe. Obviously we can use fewer digits of pi when we want to land a giant rocket on a massive planet like Mars, but knowing 40 digits is good enough for atom sized things, it gives us an upper bound of how accurate we actually need to be. So we can forgo using 50 digits of pi or whatever.