Browse wiki

From MoxyWiki

What If All the Ice Melts
DecisionSituation What would happen if all the ice in the polar ice caps melts? How much would sea levels rise?  +
Modification dateThis property is a special property in this wiki. 20 August 2010 00:04:28  +
SeaLevelIncrease 80 minfo.png
{
#Get the volume of ice
totalVolumeOfIce = sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Global_Grounded_Ice> prop:Volume ?x}");

#Get the volume in km3
totalVolumeOfIce = utConvert(totalVolumeOfIce, "km3",1);

#Fetch the ice density and water density
iceDensity = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Water_Ice> prop:Density ?x}"),'kg/m3',1);
waterDensity = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Water> prop:Density ?x}"),'kg/m3',1);

#Calculate the volume of water created when the ice melts
totalVolumeOfWater = totalVolumeOfIce * iceDensity / waterDensity;

#Get the area of the ocean
seaArea = utConvert(sparql("SELECT ?x WHERE{<http://www.moxy.com.au/Wiki/a#Ocean> prop:Area ?x}"),'km2',1);

#Divide the volume of water by the area of the ocean, and convert to meters
seaLevelIncrease = utConvert("km", "m", totalVolumeOfWater / seaArea);

#Return a string containing the units, rounded to the nearest 10 meters
paste(round(seaLevelIncrease, -1), "m");
}
  +
Categories Prediction
hide properties that link here 
  No properties link to this page.
 

 

Enter the name of the page to start browsing from.
Personal tools
Toolbox