generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Folding paper can reach the moon

Previous Thread :: Next Thread 
Customality is not online. Customality
Joined: 11 Aug 2015
Total Posts: 590
03 Feb 2016 03:26 PM
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)
Report Abuse
IanSplodge is not online. IanSplodge
Joined: 13 Aug 2012
Total Posts: 2686
03 Feb 2016 03:27 PM
I like code like this.
It makes me smile.

~IanSplodge, Walrus God of the Forums.
Report Abuse
Customality is not online. Customality
Joined: 11 Aug 2015
Total Posts: 590
03 Feb 2016 03:34 PM
Hehe :)
Report Abuse
Notwal is not online. Notwal
Joined: 31 Dec 2014
Total Posts: 915
03 Feb 2016 03:42 PM
Time to get to Jupiter: 53 folds :) -ish
Report Abuse
Customality is not online. Customality
Joined: 11 Aug 2015
Total Posts: 590
03 Feb 2016 03:44 PM
Im on my phone right now. How many folds to Andromeda?
Report Abuse
LegendaryAccount is not online. LegendaryAccount
Joined: 02 Jun 2010
Total Posts: 13193
03 Feb 2016 03:44 PM
don't worry I can fold atoms


Report Abuse
Notwal is not online. Notwal
Joined: 31 Dec 2014
Total Posts: 915
03 Feb 2016 03:46 PM
Center of the Galaxy: 81-ish folds 0_0
Report Abuse
Customality is not online. Customality
Joined: 11 Aug 2015
Total Posts: 590
03 Feb 2016 03:48 PM
Its cool how 42 folds goes to the moon, and 43 brings you back..
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
03 Feb 2016 03:49 PM
Powers of 2 my dear friend. It's what makes binary and hex so capable with insane numbers.
Report Abuse
Notwal is not online. Notwal
Joined: 31 Dec 2014
Total Posts: 915
03 Feb 2016 03:50 PM
BTW, we are 88 folds away from the andromeda galaxy :) now we need to start folding space.....
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
03 Feb 2016 03:51 PM
I know how time works, we could fold that!
Report Abuse
fixylol is not online. fixylol
Joined: 14 Dec 2012
Total Posts: 7412
03 Feb 2016 03:56 PM
how much folds to the approximate end of the observable universe?

Number of times opinion has changed: A lot.
Report Abuse
BanTech is not online. BanTech
Joined: 31 Dec 2015
Total Posts: 886
03 Feb 2016 04:02 PM
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 :)
Report Abuse
Notwal is not online. Notwal
Joined: 31 Dec 2014
Total Posts: 915
03 Feb 2016 04:22 PM
@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.
Report Abuse
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
03 Feb 2016 04:28 PM
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
Report Abuse
sayhisam1 is not online. sayhisam1
Joined: 25 Nov 2009
Total Posts: 2092
03 Feb 2016 05:38 PM
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.
Report Abuse
MightyDantheman is not online. MightyDantheman
Joined: 06 May 2011
Total Posts: 5108
03 Feb 2016 06:12 PM
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
Report Abuse
Customality is not online. Customality
Joined: 11 Aug 2015
Total Posts: 590
03 Feb 2016 11:56 PM
@Notwal He ment the part of the universe that is visible to us. We can't see the whole universe, only part of it.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image