HP 48G(X) Altitude Program

 

This program will calculate the height of a rocket in the units that your baseline measurement is in.  It is pretty self explanatory.  Program into the HP 48G (not sure if it will work with the S(X) model) exactly as shown.  This program may also be adapted for use in the Texas instruments line of graphing calculators.

 

<<
"Baseline Distance"
"" INPUT OBJ->
"Station 1 Vertical
[Degrees]"
"" INPUT OBJ->
"Station 1 Horizontal
[Degrees]"
"" INPUT OBJ->
"Station 2 Vertical
[Degrees]"
"" INPUT OBJ->
"Station 2 Horizontal
[Degrees]"
"" INPUT OBJ-> -> BL V1 H1 V2 H2 '0.5*(sin(H2)*tan(V1)*(BL/sin(180-(H1+H2)))+sin(H1)*tan(V2)*(BL/sin(180-(H1+H2))))'
>>

 

*Note- (->) is the symbol for an arrow in the HP's programming menu.

**Note- whichever units you use for your input for the baseline will be the units outputted for your rocket height.