P1=9144//Pressure altitude in Km P=0.3*10^5//corresponding pressure at pressure altitude in N/m^2 //density altitude: D1=8686.8//density altitude in Km D=0.485//corresponding density at sensity altitude in Kg/m^3 //Temperature at that altitude: T=P/(D*R)//from equation of state