Difference between revisions of "Template:Body data/alt at pressure"

From Kerbal Space Program Wiki
Jump to: navigation, search
(Pragmatic hack to provide accurate data for parachutes, solving the immediate issue there. The issue of the formula becoming outdated with 1.0 remains. Outdated notice added to docs.)
m (Oops, mistake in copying the Duna numbers.)
Line 4: Line 4:
 
| Kerbin 0.02 = 21204
 
| Kerbin 0.02 = 21204
 
| Kerbin 0.04 = 17590
 
| Kerbin 0.04 = 17590
| Duna 0.02 = 21204
+
| Duna 0.02 = 15279
| Duna 0.04 = 15279
+
| Duna 0.04 = 11671
 
| Jool 0.02 = 180959
 
| Jool 0.02 = 180959
 
| Jool 0.04 = 171873
 
| Jool 0.04 = 171873

Revision as of 16:43, 30 May 2015



Calculates the height at which the specified pressure is in meters. Returns 0 if the celestial body hasn't any atmosphere. For example 0.000001 atm (or 10-6 atm) are at the following altitudes:

Body Code Result
Eve {{Body data/alt at pressure|pressure=10^-6|body=Eve}} 111059.62898687
Kerbin {{Body data/alt at pressure|pressure=10^-6|body=Kerbin}} 77366.8591246
Duna {{Body data/alt at pressure|pressure=10^-6|body=Duna}} 63312.524205789
Jool {{Body data/alt at pressure|pressure=10^-6|body=Jool}} 495706.82367555
Laythe {{Body data/alt at pressure|pressure=10^-6|body=Laythe}} 106437.47971453

This template uses {{Body data}} with the scale height and pressure properties.

Parameters

Name Description
body Celestial body which is referenced
pressure Searched pressure in atm