Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Revisiting Q 2 of HW 2 , we consider a vertical segment of the atmosphere which has a constant density ( i . e .
Revisiting Q of HW we consider a vertical segment of the atmosphere which has a constant density
ie density of air is independent of height What is the lapse rate, Gamma dTdz of the environmental
temperature profile within this segment? Is the atmosphere within the segment statically stable, neutral,
or unstable?
Appendix: How to read the data for Problem
The data file, gefdhwdata.txt is in plain text and consists of two columns for pressure in
mb and temperature in deg C The following matlab code, also posted separately, can be used to read
the data into two arrays, p and T each with elements. The first pair of records, p T are the
pressure and temperature at the lowest elevation or highest pressure which is the surface. As a quick
reference, the matlab code also plots T as a function of p as shown in the next page.
clear
fid fopengefdhwdata.txtr;
for n :
pn fscanffidf;
Tn fscanffidf;
end
fclosefid;
plotTpr'LineWidth',
axis
xlabelTpcircC; ylabelp mb
setgca'YDir','reverse'
Step 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