Template:Body data/alt at pressure

From Kerbal Space Program Wiki
< Template:Body data
Revision as of 20:39, 9 April 2013 by XZise (talk | contribs) (Created page with "<includeonly>{{#ifexpr: {{BodyData/Pressure|{{{body}}}}}>0|{{#expr: -{{BodyData/ScaleHeight|{{{body}}}}} * ln({{{pressure}}} / {{BodyData/Pressure|{{{body}}}}} ) }}|0}}</i...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Calculates the height at which the specified pressure is in meters. Returns 0 if the celestial body hasn't any atmosphere.

Parameters

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