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

From Kerbal Space Program Wiki
Jump to: navigation, search
(Created page with "<includeonly>{{#ifexpr: {{BodyData/Pressure|{{{body}}}}}>0|{{#expr: -{{BodyData/ScaleHeight|{{{body}}}}} * ln({{{pressure}}} / {{BodyData/Pressure|{{{body}}}}} ) }}|0}}</i...")
(No difference)

Revision as of 20:39, 9 April 2013

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