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 revisionBoth sides next revision
blog:articles:software:age_and_weight_calc [2019/03/09 17:58] Phil Ideblog:articles:software:age_and_weight_calc [2019/03/09 17:59] Phil Ide
Line 13: Line 13:
 <JS> <JS>
 var planets = [ var planets = [
- {name: "Mercury", year: 87.9691, mass: 0.0553}, + {name: "Mercury", year: 87.9691, mass: 0.38}, 
- {name: "Venus", year: 224.701, mass: 0.815},+ {name: "Venus", year: 224.701, mass: 0.904},
  {name: "Earth", year: 365.25, mass: 1.0},  {name: "Earth", year: 365.25, mass: 1.0},
- {name: "Mars", year: 686.971, mass: 0.107}, + {name: "Mars", year: 686.971, mass: 0.37}, 
- {name: "Jupiter", year: 4332.59, mass: 317.8}, + {name: "Jupiter", year: 4332.59, mass: 2.528}, 
- {name: "Saturn", year: 10759.22, mass: 95.2}, + {name: "Saturn", year: 10759.22, mass: 1.065}, 
- {name: "Uranus", year: 30688.5, mass: 14.6}, + {name: "Uranus", year: 30688.5, mass: 0.886}, 
- {name: "Neptune", year: 60182, mass: 17.2}+ {name: "Neptune", year: 60182, mass: 1.14}
 ]; ];
- 
 function __calculateweightandage(){ function __calculateweightandage(){
 var s = "<table><tr><th></th><th>Age</th><th>Weight</th></tr>"; var s = "<table><tr><th></th><th>Age</th><th>Weight</th></tr>";
blog/articles/software/age_and_weight_calc.txt · Last modified: 2019/03/10 23:04 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