Answered step by step
Verified Expert Solution
Question
1 Approved Answer
DO NOT ANSWER UNLESS YOU ARE DOING IT IN MATLAB CODE.... MATLAB ONLY. THE ANSWER NEEDS TO BE DONE IN MATLAB!!!! MATLAB, MATLAB, MATLAN>>>> ONLY
DO NOT ANSWER UNLESS YOU ARE DOING IT IN MATLAB CODE.... MATLAB ONLY. THE ANSWER NEEDS TO BE DONE IN MATLAB!!!! MATLAB, MATLAB, MATLAN>>>> ONLY
It is well known that the temperature of the atmosphere varies with altitude. In the troposphere, which extends to an altitude of 11km, for example, the variation of temperature can be approximated by T-To z, where To is the temperature at sea level, which can be taken to be 288.15 K, and B-0.0065 K/m. The gravitational acceleration also changes with altitude as g(z)-go/(1+z/6370320) where go-9.807 m/s2 and z is the elevation from sea level in m. Obtain the variation of pressure P in the troposphere (a) by ignoring and (b) by considering the variation of g with altitude. Noting that the pressure change across a differential fluid layer of thickness dz in the vertical z-direction is given as dP-pgdz, where p is the density of the fluid The density of air varies with elevation as shown in table I. Please write an m file to numerically calculate the pressure as a function of altitude z and plot the pressure P vs. z for both cases. kg/m3 1.225 1.112 1.007 0.9093 0.8194 0.7364 0.6601 0.5258 0.4135 0.1948 0.08891 0.04008 z, km 0 4 10 15 20 25Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started