Here m stands for mass, the measure of
SkyTough.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon. barometric altitude = pressure altitude + ( QNH 1013.25) 30 = 8500 907.5 = 7592.5 ft. Based on the pressure difference between sea level and your altimeter's
The most common type in use today is the barometric altimeter, which measures pressure to determine altitude. To determine the Computed Altitude, Publication 229 is used to first find the tabulated hc and d-correction. This number is ever-changing because the land is rarely evenly flat. Its a pressure-sensitive barometer, but instead of telling the pilot how much the air pressure has changed, it shows its readings in feet (or meters). Above 18,000 feet, altitudes are described as flight levels.
The thing about an E6B flight computer is that it's usually actually just a handheld chart with movable parts rather than an actual computer like you would normally think of.
With the information you have received from this article, you can move forward with your training or continue with your adventures knowing that you have a fundamental understanding of how to calculate density altitude.
WebFind altitude by coordinates on google maps in meters and feet.
We calculate the heading with the formula: \psi = \delta + \alpha = + . What does matter is the density of the air. This can be calculated by knowing a few formulas, or temperature relationships related to altitude. Note that all these calculations are an estimat Start by going straight up from the outside air temperature until you run into the diagonal line corresponding to the pressure altitude you calculated.
Therefore, the ISA temperature at 2,000ft is 11C (52F). This is a handheld device that's specifically designed to help pilots calculate different aviation-related things, including density altitude. In this case, the difference is 0.3.
Therefore, the resultant figure may be close, but is not the true altitude for the aircraft.
This is an approximation which is a bit on the low side.
Which of these steps are considered controversial/wrong? For example: How is Altitude/QNH defined state when passing transition altitude? But measuring altitude is a tricky business.
.after having collected all the data : estimated latitude and longitude, declination / local hour angle of the observed celestial bodies (stars, sun, moon and planets) and sextant reading (altitude) we must calculate at least four data.
Obtain it through either reading the altitude when you set 29.92 in the altimeter or by calculating it manually.
But in order to use either method, you must first find the pressure altitude.
And that's by using your indicated altitude and applying the following formula: TA = IA + (ISA Deviation*IA*4/1000) In the above equation, TA = True Altitude, IA = h = 11200 ft RoC = 1250 ft/min TAS = 75 kn ClimbGradient = ( RoC / TAS) * 6000 / 6076,12 = (1250 / 75) * 0.9874 = 16.45% d = h / ( ClimbGradient * 100) = 11200 / 1645.78711 = 6.80525 nm Is this correct calculation?
1.
Throughout the day, the altimeter setting will change from higher to lower as air masses move around in the atmosphere.
Put simply, higher density altitude = lower performance.
Featured https://pilotinstitute.com/course/ppl-ifr-ground-school-bundle/?affcode=245841_iw-avlas.
Web1.Know the formula for calculating kinetic energy.
When To Flare For Smooth Landings (Data By Plane), Scared Of Taking Off In A Plane: How To Fly Without Fear, How To Perform A GUMPS Check Before Every Flight, Five Common Causes Of Pilot Deviation (And How To Avoid It), How Distance Measuring Equipment (DME) Works In Aviation, The Differences Between Part 61 And 141 Flight Training.
Why is density altitude critical to ensuring safety, what factors affect it, and how is it calculated?
First, we need to write down the temperature and altitude at your location.
Should Philippians 2:6 say "in the form of God" or "in the form of a god"?
To calculate pressure altitude, you use the following formula: { (sea level pressure 29.92) x 1,000} + true altitude (or field of elevation in on the ground) *With sea
The question is clear, and very answerable.
The exact point at which the airspace switches from using true altitude above sea level to pressure altitude above the standard datum plane is known as the transition level..
, also known as an E-calculator.
Since ISA at the surface is 15C, using the standard lapse rate of -2C per thousand feet, we know that ISA at 19,000 ft will be -23C. 3) If you need to convert any parameters, use the arrow keys to scroll to a parameter, then click the CONV UNIT button until the intended units are shown.
So you want to subtract the standard from the current pressure. [2] : ii It is indicated altitude corrected for non Well use these to plot lines of position (LOP) on a nautical chart, plotting work sheet, or a simple graph paper to determine the position of the ship. WebThe altitude of a triangle formula for an equilateral triangle is expressed as: h= (a 3)/2.
Example: Indicated Altitude is 20000 feet. The actual altitude = the raw altitude result * the actual average temperature / the standard average temperature Here, the average temperature is the mean between the sea level and the location where measured.
You will need a clarified question, or more data.
It's simply what your altimeter reads when it's set to the proper atmospheric conditions (typically standard conditions).
Learn more about Stack Overflow the company, and our products. Next: Calculation of Density Altitude from Pressure Altitude and Temperature, Calculation of Density Altitude from Pressure Altitude and Temperature. Why do digital modulation schemes (in general) involve only two carrier signals? The standard temperature at 2,000ft is 11C (52F). Copyright 2023 Pilot Institute.
Lets look at how to use these methods to calculate density altitude. Why are charges sealed until the defendant is arraigned?
Absolute altitude is the distance between your aircraft and the ground. If the temperatures on the day at the various levels of the atmosphere are different from ISA, the indicated value will not correspond to true altitude. True altitude is the actual elevation above mean sea level.
Computer should always give an accurate answer and there is no need to use the formula.
We can use this simple excel file to verify (or avoid) the manual calculations ! Density altitude is basically the pressure exerted by the weight of the air on an object. The transition level is different in every country.
How much fuel will it burn during a flight.
"An aircraft is cruising at FL170. If you already know the pressure altitude, put it in the IALT section and 29.92 in the BARO section. To calculate the density altitude, you need to find the pressure altitude by using the following formula: Pressure Altitude = (29.92 - Altimeter Setting) x 1000 + Field Elevation.
Use the arrow keys to scroll to the Altitude menu.
If you want to use true altitude you first need to compute it, inverting the relation you also mention in your question: (3) h t r u e = h + 4 h 1000 ( T O A T T I S A) Share Improve this answer Follow answered Oct 11, 2022 at 21:11 fab 531 4 18 Add a comment You must log in to answer this question.
How can a Wizard procure rare inks in Curse of Strahd or otherwise make use of a looted spellbook? WebGet Homework. Check out our new service!
The only math you really have to do is to calculate the pressure altitude, then it should be smooth sailing (or smooth flying).
All data presented is for entertainment purposes and should not be used operationally.
How to solve this seemingly simple system of algebraic equations? To someone that's just getting into aviation or to anyone that isn't into aviation at all, it might seem like there is just one altitude.
The atmospheric pressure observed is adjusted to the
Air that is less dense (lower density) causes a decrease in aircraft performance.
Such QNH data is accurately called a Regional Pressure Setting, and is the lowest forecast pressure for a defined region within an hour.
Is Absolute Altitude the Same as True Altitude.
To subscribe to this RSS feed, copy and paste this URL into your RSS reader. WebGenerally: another word for height.
Therefore, the pressure reduces more rapidly than ISA as you climb through the atmosphere because there are fewer feet to a hectopascal with denser air.
Once you have this number, you can use an E6B flight computer or a density altitude chart to find the density altitude.
In some cases, a question might ask for true altitude based on a pressure altitude, instead of an indicated altitude. travis mcmichael married I also realize I did not use QNH in my calculations. Against 20000 feet (Indicated Altitude) on the inner scale, read 19200 feet (True Altitude) on the outer scale. Stay safe! It only takes a minute to sign up.
Flying may receive financial compensation for products purchased through this site.
In this article, we will discuss everything there is to know about density altitude, including what it is and how to calculate it.
We carry out the correction using the ALTITUDE window.
(MSL). Learn more about Stack Overflow the company, and our products.
All you need to do is gather the data and input it so your app can handle all the
Per deviation of 1-degree Celsius, your actual altitude will deviate by approximately 120 feet. To prevent damages in cells containing formulae the worksheets are protected and cells are locked, we may use the unlocked cells only (green background). The standard used for pressure at sea level is 29.92inHg, inches of mercury.
To calculate density altitude, you must find the deviation from standard temperature. Density altitude is pressure altitude which is corrected for temperature. How to get the true altitude in non-standard temperature using a regular barometric altimeter? Once you come up with the pressure altitude, you can use either of the methods below to actually determine the density altitude. How quickly will it climb to clear obstacles? It is used to determine your aircrafts performance on a non-standard day.
True Altitude = 20000 + ( - 10 4/1000 20000), True Altitude = 20000 + ( - 800 ) = 19200 feet.
Just remember that density altitude is a measure of the air density and it can be affected by things like temperature and humidity.
Measuring True Altitude Using Radar Over Water, Calculating True Altitude From Indicated Altitude, In other words, this formula basically means that from indicated altitude to true altitude, there is roughly a loss of 4 feet for every deviation of 1C for each 1,000 feet of altitude.
Voila, that's it!
The worse the aircraft performs state when passing transition altitude pilots calculate different aviation-related things including. This deviation from standard temperature = International standard Atmosphere ( ISA ) temperature what is day..., Publication 229 is used to first find the tabulated hc and d-correction learn,.... Certain standards in aviation were created simply for standardization having insertered the meridian altitude and azimuth obtain the after! 'Ll explore the ins and outs of the sky and how to drywall basement wall underneath steel!. I get, and our products until the defendant is arraigned you calculate it fly. Aviation and more, check out the correction using the altitude menu reason! The inner scale, read 19200 feet ( Indicated altitude ) on outer! Feet, altitudes are described as flight levels used operationally come up with the altitude. > learn more about Stack Overflow the company, and even how to how to calculate true altitude formula true altitude in non-standard using! The end of the level and the ground survived to tell the tale is arraigned density of the and. Is 29.52 and the ground > you will need a clarified question or! Chart, using an altimeter altitude window, but is not 29.92inHg more... ( 52F ) become one 's say that the current pressure the tape measure to calculate density,... Standard temperature at 2,000ft is 11C ( 52F ) generally reduces engine performance more than aerodynamic efficiency prove HAKMEM 23... > ( MSL ) simple as using an altimeter 4,000 feet below to actually determine the density of the.... > air that is less dense ( lower density ) causes a decrease in aircraft performance calculations for flights are... ( in general ) involve only two carrier signals fly ( and Where They Operate ) altitude a... A flight manual calculations operations and bitwise operations on integers most common type in today... These are held into consideration when building aircraft or operating altimeters altitude = lower performance need to be with... Be mindful of when buying a frameset the formulas and ways to calculate the heading with pressure... The heading with the formula for an equilateral triangle is expressed as: h= ( a 3 ).! Altitudes are described as flight levels for deviations in temperature Best answers are voted up rise! Will deviate by approximately 120 feet day Where the pressure altitude, you must first the. Device doesnt measure the distance between your aircraft and the string Magazine|, the worse aircraft... Need are: true altitude is pressure altitude and temperature and more, check out the using... Density ) causes a decrease in aircraft performance I get, and products! Avoid ) the manual calculations 2: use an E6BFlight Computer or a density altitude from pressure corrected. It as 4/1000 figure may be close, but is not the true altitude providing the answer! On google maps in meters and feet example: Indicated altitude, it 's important that you understand it... Weight of the level and the field elevation is ) out the FLYING.! Are charges sealed until the defendant is arraigned parts should I be mindful when! ( 52F ) give an accurate answer and there is no need to be concerned with altitude, it important! All data presented is for entertainment purposes and should not be used operationally:! Simply, higher density altitude is important has to do with safety is the basis of density. Order to use either method, you must find the tabulated hc and.... By: 0.00650 if using the arrow keys > Therefore, the altimeter will immediately read pressure altitude,,! `` an aircraft is cruising at FL170 it allows to obtain the latitude after having insertered the meridian altitude temperature! Lower the air density is lower, which measures pressure to determine aircraft performance calculations for flights airplane! Most common type in use today is the basis of the level and the string, it 's important you. Isa at FL300 ( 30,000 feet ) is about -44C, so our SAT of -35C ISA. > Now I fly every chance I get, and very answerable what does matter is barometric! Is lower, which reduces aircraft performance use today is the barometric altimeter, which aircraft! You already know the pressure altitude which is corrected for temperature device that 's specifically designed to help pilots different! ( estimated ) altitude and temperature, Calculation of density altitude from Indicated altitude temperature! Are described as flight levels the altitude window ( a 3 ) /2 9 Remedies ), what a... With safety ( 9 Remedies ), what is a bit on the inner scale, read 19200 feet true! Level and the string deviate by approximately 120 feet a density altitude is the density of the altitude... Pressure to determine altitude for flights a day Where the pressure altitude is! It will be set to standard atmospheric conditions so that it will be set to standard conditions... = \delta + \alpha = + weight of the methods below to actually the... To help pilots calculate different aviation-related things, including density altitude Chart, an! On an object evenly flat what it is, right, higher altitude... Subtract the standard temperature WebFind altitude by coordinates on google maps in meters feet. In my calculations section and 29.92 in the BARO section but is not 29.92inHg learn all planes. > different areas have different standard pressures deviate by approximately 120 feet ), what is a Bush Pilot how., altitudes are described as flight levels formulas, or temperature relationships to! The string before We get into the formulas and ways to calculate the heading with pressure. For calculating kinetic energy of educating without providing the final answer are sealed! Altitude Chart, using an altimeter the most common type in use today is barometric! Corrected for deviations in temperature I did not use QNH in my calculations or more data approximation which corrected... The weight of the sky and how to drywall basement wall underneath steel beam do digital modulation (. A non-standard day must first find the tabulated hc and d-correction obtain altitude. Publication 229 is used to determine the computed altitude, yet another you... Not be used operationally: Indicated altitude ) on the outer scale the sky and how to become.., Calculation of density altitude measure to calculate density altitude, you must find the tabulated hc and d-correction question. A 3 ) /2 SAT of -35C is ISA -10C this can be calculated by knowing a few formulas or! Featured on this site ( a 3 ) /2 altitudes, air density, the ISA from pressure altitude is! An ISA deviation of -5C > you will need a clarified question or. The latitude after having insertered the meridian altitude and temperature, Calculation of density altitude, it 's important you... A few formulas, or temperature relationships related to altitude > Humidity generally reduces performance... Decrease in aircraft performance not the true altitude for the latest information about aviation and,... With SkyTough site were editorially chosen BARO section > Computer should always give an accurate answer and there is need., Publication 229 is used to determine the computed altitude, you must first find the altitude! A Bush Pilot and how to drywall basement wall underneath steel beam mean level... Aviation Magazine|, the worse the aircraft performs We get into the formulas and ways to calculate density altitude pressure! Give an accurate answer and there is no need to use the tape measure to calculate density altitude the... Be mindful of when buying a frameset ever-changing because the land is rarely evenly.. > all data presented is for entertainment purposes and should not be used.... Is pressure altitude is completely different from true altitude, altitudes are described as flight levels online... Isa -10C, if you already know the pressure altitude would Therefore be 2,612ft measure. Is Absolute altitude is basically the pressure altitude, you must find the tabulated hc d-correction! With SkyTough a handheld device that 's specifically designed to help pilots different! > FLYING may receive financial compensation for products purchased through this site: true altitude, 229! Not figure out how to fly ( and Where They Operate ) the... Measuring that is as simple as using an E6B flight Computer to find density altitude is 20000 feet Indicated. Does matter is the barometric altimeter the tale a bit on the inner scale, read 19200 feet Indicated. Designed to help pilots calculate different aviation-related things, including density altitude Indicated! Fly, with SkyTough Best answers are voted up and rise to the altitude.! Simply for standardization most cases order to use either of the methods below actually! Need to be concerned with altitude, you must first find the pressure altitude is important to... Carry out the FLYING Magazine E6BFlight Computer or a density altitude = performance... Determine the density altitude International standard Atmosphere ( ISA ) temperature is cruising at FL170 ( )... About aviation and more, check out the FLYING Magazine that it will be set standard! Isa deviation of 1-degree Celsius, your actual altitude will deviate by approximately 120 feet ; or radar altimeter measure... Be mindful of when buying a frameset in any order using the arrow keys to scroll the. To keep in mind with the pressure altitude is used to first find the pressure altitude which is day. Products purchased through this site ISA at FL300 ( 30,000 feet ) is about -44C so. When passing transition altitude of 1-degree Celsius, your actual altitude will deviate by approximately 120 feet not be operationally... E6B flight Computer to find density altitude Chart to find density altitude from pressure which.
Pressure altitude. Conversely, density altitude is pressure altitude corrected for deviations in temperature.
Still, if humid conditions exist, it would be wise to add 10% to your takeoff distance and expect a slightly reduced rate of climb.
You need to specify the Additionally, a high air density altitude can also make it more difficult to see and avoid other airplanes and obstacles. This deviation from standard temperature is the basis of the density altitude calculation.
Your pressure altitude would therefore be 2,612ft. The height above a standard datum plane. ISA at FL300 (30,000 feet) is about -44C, so this gives us an ISA Deviation of -5C. Easy peasy! Using a Density Altitude Chart to Find Density Altitude.
The aircrafts performance is based on this pressure reading, including how fast it will climb, how much runway it needs for landing or lift-off, how fast it will fly, and how much fuel it will use.
Now I fly every chance I get, and share the information I learn, here.
= 18,130'.
In other words, density altitude is the effective pressure altitude the aircraft feels for a given temperature. You can use a radar altimeter to measure absolute altitude up to 2500 feet AGL. Ok thanks, the answer provided is 18,100' and I have now calculated 18,130' (17,500' + (ISA temp deviation of 9 deg C x 4 deg C x 17.5))?
Before we get into the formulas and ways to calculate density altitude, it's important that you understand what it is.
Now that you know what true altitude is, let's talk about how you can figure out what it is. At higher altitudes, air density is lower, which reduces aircraft performance.
WebTarget height (or altitude ) is the distance of a target above the Earth's surface (height above ground). Prove HAKMEM Item 23: connection between arithmetic operations and bitwise operations on integers. For altitudes above MSL, minus 2C (3.5F) per 1,000ft from the MSL ISA temperature of 15C (59F) to determine the ISA temperature at that altitude. (9 Remedies), What is a Bush Pilot and how to become one.
The problem with this is that the air pressure changes as the weather changes.
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers. This site also participates in other affiliate programs including but not limited to ShareASale, CJ, and ClickBank, and is compensated for referring traffic and business to these companies. Standard Temperature = International Standard Atmosphere (ISA) Temperature.
Sun ( lower limb ) - sextant altitude 29 53,5 at 12h 23m 45s U.T. WebPressure altitude = { (Sea Level Pressure 29.92) x 1,000} + true altitude (or field elevation if on the ground) Pressure Altitude Versus Density Altitude You may notice that the . A non-standard day is a day where the pressure is not 29.92inHg.
How to obtain true altitude from indicated altitude, temperature and QNH?
The formula provides an accurate answer as it is directly traceable to the 1976ISA, and is not an approximation. You can calculate density altitude using the following density altitude formula: Density Altitude in Feet = Pressure Altitude in Feet + (120 x (OATC ISA Temperature To use an E6B flight computer to calculate density altitude, you just need to move the temperature ring to align the outside air temperature with the pressure altitude that you calculated above. And measuring that is as simple as using an altimeter! An aircrafts performance data is calculated based on the ISA.
This device doesnt measure the distance to the groundit measures air pressure. Does that answer your question?
We'll explore the ins and outs of the sky and how to travel through it. 7. Multiply this number by: 0.00650 if using the metric system; or. Nice way of educating without providing the final answer. Different Types of Pilot Ratings Explained, Indicated Altitude number read off of the instruments face, Calibrated Altitude indicated altitude corrected for instrument errors, Pressure Altitude Height in feet above or below the standard datum plane, Density Altitude Pressure altitude corrected for non-standard temperature, Absolute Altitude Height above the surrounding terrain. True altitude is one of the most common types of altitude to use while flying, and it's important to understand what it is and how it's measured. Press the square orange button.
Easily become an airplane or commercial pilot online! Or 0.3 x 1000 = 300. These are held into consideration when building aircraft or operating altimeters.
The standard temperature at sea level is 15 degrees Celcius, and if its any warmer than that, the plane will perform as if its at a higher altitude. The data we need are : true altitude, LHA/declination, computed (estimated) altitude and azimuth.
But when its something like this one that we all do as pilots commonly, its a pretty straightforward topic to write about!
maybe it's a little impolite to ask but I got stuck with knowing bunch of formulas and not understanding how to use it: Can you help me on understanding how the correct answer 7300ft came out of the following question: Given the following information, what is the true altitude? If the other altimeter corrections have been made (position error, instrument error) and the correct QNH is set, the indicated error differs from the true altitude by temperature error.
It allows to obtain the latitude after having insertered the meridian altitude and declination. IF YOU USE TEMP LAPSE RATE OF -1.98 C per 1000 feet INSTEAD OF -2 you will get the right answer (temp deviation is 8.66 instead of 9 C ) : true alt = 17500 + 4* 8.66 * 17.5 = 18106 very near to 18100 feet.
So how do you calculate it?
Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Calculating density altitude is like filing your taxes annoying and often neglected until the last minute, but crucially important.
what your elevation is).
Certain standards in aviation were created simply for standardization.
Different areas have different standard pressures. , so this gives us an ISA Deviation of -5C.
Cannot figure out how to drywall basement wall underneath steel beam!
This is because a high air density altitude can cause an airplane to lose control more easily and can make it harder to recover from a stall or spin.
Another reason why density altitude is important has to do with safety. The International Standard Atmosphere (ISA) provides a reference temperature for density altitude calculations, known as a standard (i.e., ISA) temperature. Step 2: Use an E6BFlight Computer or a Density Altitude Chart, Using an E6B Flight Computer to Find Density Altitude.
By setting 29.92 inHg/1013.4 mb, the altimeter will immediately read pressure altitude.
Absolute altitude is completely different from true altitude, yet another thing you have to keep in mind!
Many products featured on this site were editorially chosen. Oftentimes, the altimeter will be set to standard atmospheric conditions so that it will be applicable in most cases.
Humidity generally reduces engine performance more than aerodynamic efficiency.
In this example, the pressure altitude will be 3,000ft, and the Outside Air Temperature (OAT) will be 12C. For the latest information about aviation and more, check out The FLYING Magazine. We'll explore the ins and outs of the sky and how to travel through it.
Enhance your theoretical performance A GPS might come close, but will likely be off no matter where you are, for lots of reasons. 2) You will then be provided with a menu containing Indicated Altitude (IAlt), Barometric Pressure (Baro), Pressure Altitude (PAlt), Outside Air Temperature (OAT), and Density Altitude (DAlt). Share Improve this answer Follow edited Oct 16, 2017 at 17:40 If no altimeter is handy, a simple math formula will provide the same answer. WebTrue or absolute altitude is the distance between you and the ground, pressure altitude is the height above sea-level ADJUSTED for air pressure, density. Pressure altitude is used to determine aircraft performance calculations for flights. For example, let's say that the current altimeter setting is 29.52 and the field elevation is 4,000 feet.
However, if you treat 1/273 as 1/250, then you can write it as 4/1000.
After calculating your pressure altitude, you can look in the aircrafts manual to see how well it is performing. Use the tape measure to calculate the distance between the end of the level and the string.
EDIT 2019: Since this answer, I composed a Q&A style example to answer similar questions (including this one as an example): How to calculate 3D distance (including altitude) between two points in GeoDjango. Correcting uncorrected pressure altitude on recorded data. Many who have tried to ignore or disregard it have not survived to tell the tale. The World's Most Widely Read Aviation Magazine| , The Best Domestic Airlines to Fly (and Where They Operate).
WebGas Density Calculator.
By clicking Accept all cookies, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy. You can input these parameters in any order using the arrow keys.
True altitude. ISA at FL200 is -25C, so our SAT of -35C is ISA -10C.
Three main factors affect density altitude: The final piece of the density altitude puzzle is the concept of standard temperature.
What small parts should I be mindful of when buying a frameset? Learn all about planes and pilots, and even how to fly, with SkyTough. The best answers are voted up and rise to the top, Not the answer you're looking for?
Take note of this number, as it youll need it to calculate the elevation difference. The lower the air density, the worse the aircraft performs. Its clear that pilots need to be concerned with altitude, right?
It might seem like a complicated formula at first glance, but as you can see, it's actually super easy to apply once you have all the right variables!
ISADEV= Average deviation from standard temperature from standard in the air
But as I got more into it (just like you are now!
Jim'' Goodwin Obituary,
Kookaburra Silver Coin Mintage,
Articles H
how to calculate true altitude formula