|
I wrote this simple code, and apparently folding a paper on 0.01cm thickness 42 times, will reach the moon. Too bad you won't be able to fold it more than 8 times :|
local MoonDist = 384400 -- Distance between earth and moon
local PaperThickness = 1.0000000e-7 -- Regular paper size (In kilometers)
local Curr = PaperThickness
local Counter = 0
while wait() do
Curr = Curr * 2
Counter = Counter + 1
print(Curr)
if Curr >= MoonDist then
break
end
end
print("Paper folds to reach moon: " .. Counter) |
|
M4LLARDJoin Date: 2012-08-13 Post Count: 3201 |
I like code like this.
It makes me smile.
~IanSplodge, Walrus God of the Forums. |
|
|
NotwalJoin Date: 2014-12-31 Post Count: 915 |
Time to get to Jupiter: 53 folds :) -ish |
|
|
Im on my phone right now. How many folds to Andromeda? |
|
|
don't worry I can fold atoms
|
|
NotwalJoin Date: 2014-12-31 Post Count: 915 |
Center of the Galaxy: 81-ish folds 0_0 |
|
|
Its cool how 42 folds goes to the moon, and 43 brings you back.. |
|
|
Powers of 2 my dear friend. It's what makes binary and hex so capable with insane numbers. |
|
NotwalJoin Date: 2014-12-31 Post Count: 915 |
BTW, we are 88 folds away from the andromeda galaxy :) now we need to start folding space..... |
|
|
I know how time works, we could fold that! |
|
fixylolJoin Date: 2012-12-14 Post Count: 7412 |
how much folds to the approximate end of the observable universe?
Number of times opinion has changed: A lot. |
|
BanTechJoin Date: 2015-12-31 Post Count: 886 |
Shame that most paper is 0.05mm thick though :/ with a 0.05mm thick paper, about 103 folds is the depth of the universe. With the paper you are on about, 102 folds :) |
|
NotwalJoin Date: 2014-12-31 Post Count: 915 |
@fixylol, the Universe is expanding faster than the speed of light, meaning we can't calculate how far away it is. We also can't calculate Earth's overall position in the Universe, or what all speed is relative to. |
|
|
Seeing as nothing can go faster than the speed of light, your statement is incorrect. In-fact, the universe is slowing down as we speak. Once the universe has expanded as far as possibly could, it will retract into itself again.
~MightyDantheman |
|
sayhisam1Join Date: 2009-11-25 Post Count: 2092 |
That is actually incorrect.
The Universe is appearing to be accelerating its expansion, not decelerating.
https://en.wikipedia.org/wiki/Accelerating_expansion_of_the_universe
The real question to ask is why this happens.
It's theorized dark energy is responsible for this - Energy that doesn't interact with light at all. |
|
|
I thought dark energy was simply a negative version of gravity (opposite)? If that were the case, there are a lot of theories for that as well. By theory, I mean a hypothesis.
~MightyDantheman |
|
|
@Notwal He ment the part of the universe that is visible to us. We can't see the whole universe, only part of it. |
|