Question: *** PLEASE NEED MATLAB SOLUTION It is well known that the temperature of the atmosphere varies with altitude. In the troposphere, which extends to an

*** PLEASE NEED MATLAB SOLUTION

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=T0-z, where T0 is the temperature at sea level, which can be taken to be 288.15 K, and =0.0065 K/m. The gravitational acceleration also changes with altitude as g(z)=g0/(1+z/6370320)2 where g0=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=-rgdz, where r 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.

z, km

r, kg/m3

0

1.225

1

1.112

2

1.007

3

0.9093

4

0.8194

5

0.7364

6

0.6601

8

0.5258

10

0.4135

15

0.1948

20

0.08891

25

0.04008

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!