atmos62 - pres = 1.44217649e33 * temp^-12.20158686;...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [temp,pres,dens,sos] = atmos62(h) f tempsl = 518.69; %Temperature at sea level rhosl = 0.002376899341; %Density at sea level pasl = 2116.199414; %Pressure at sea level pres = 0; %lbs/ft^2 temp = 0; %rankine dens = 0; %slugs/ft^3 sos = 0; %ft/sec s temp = tempsl - 0.00356616 * h; pres = (1.137193514e-11)*(temp^5.2560613); temp = 389.9901385; pres = 2678.38681 * exp(-4.80624e-5 * h); temp = 353.9901374 + 0.00054864 * h; pres = 3.802075778e90 * temp^-34.1643987; temp = 250.3103243 + 0.00153619 * h;
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: pres = 1.44217649e33 * temp^-12.20158686; elseif(154199.5 <= h && h < 170603.7) %Level 5 temp = 487.1900543; pres = 873.6400826 * exp(-3.84736009e-5 * h); elseif(170603.7 <= h && h < 200131.2) %Level 6 temp = 674.3900821 - 0.00109728 * h; pres = 1.509860827e-46 * temp^17.08219937; elseif(200131.2 <= h && h < 259186.0) %Level 7 temp = 893.9900454 - 2.19456e-3 * h; pres = 7.577930948e-24 * temp^8.541099698; elseif(259186.0 <= h && h < 2000000) %Level 8 temp = 325.1908172; pres = 6.669501806e4 * exp(-5.763986782e-5 * h); end e dens = rhosl * (tempsl / pasl) * (pres / temp); sos = 49.0214 * temp^0.5; s return...
View Full Document

Ask a homework question - tutors are online