Philip P. Ide

Author, programmer, science enthusiast, half-wit.
Life is sweet. Have you tasted it lately?

User Tools

Site Tools


blog:articles:software:age_and_weight_calc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
blog:articles:software:age_and_weight_calc [2019/03/09 17:59] Phil Ideblog:articles:software:age_and_weight_calc [2019/03/10 23:04] (current) Phil Ide
Line 2: Line 2:
 This little calculator allows you to calculate how old you would be on each of the planets in the solar system, and what your weight would be. If you have weight issues, don't look at the result for Jupiter! LOL This little calculator allows you to calculate how old you would be on each of the planets in the solar system, and what your weight would be. If you have weight issues, don't look at the result for Jupiter! LOL
  
-The results are based on surface gravity, which for the gas and ice-giants is somewhat less than you might think.+The results are based on surface gravity, which for the gas and ice-giants is somewhat less than you might think. Data is taken from NASA/JPL
  
 //N.B. None of this information is stored or even sent to my server, it's calculated in your browser// //N.B. None of this information is stored or even sent to my server, it's calculated in your browser//
Line 14: Line 14:
 var planets = [ var planets = [
  {name: "Mercury", year: 87.9691, mass: 0.38},  {name: "Mercury", year: 87.9691, mass: 0.38},
- {name: "Venus", year: 224.701, mass: 0.904},+ {name: "Venus", year: 224.701, mass: 0.91},
  {name: "Earth", year: 365.25, mass: 1.0},  {name: "Earth", year: 365.25, mass: 1.0},
- {name: "Mars", year: 686.971, mass: 0.37}, + {name: "Mars", year: 686.971, mass: 0.38}, 
- {name: "Jupiter", year: 4332.59, mass: 2.528}, + {name: "Jupiter", year: 4332.59, mass: 2.34}, 
- {name: "Saturn", year: 10759.22, mass: 1.065}, + {name: "Saturn", year: 10759.22, mass: 0.93}, 
- {name: "Uranus", year: 30688.5, mass: 0.886}, + {name: "Uranus", year: 30688.5, mass: 0.92}, 
- {name: "Neptune", year: 60182, mass: 1.14}+ {name: "Neptune", year: 60182, mass: 1.12}
 ]; ];
 function __calculateweightandage(){ function __calculateweightandage(){
Line 44: Line 44:
 }; };
 </JS> </JS>
 +~~socialite~~
  
blog/articles/software/age_and_weight_calc.1552154368.txt.gz · Last modified: 2019/03/09 17:59 by Phil Ide

Except where otherwise noted, content on this wiki is licensed under the following license: Copyright © Phil Ide
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki