Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Introduction: In this homework assignment you implement and utilize a standard atmosphere model ( in this case the 1 9 5 9 ARDC Model Atmosphere
Introduction:
In this homework assignment you implement and utilize a standard atmosphere model in this case the ARDC Model Atmosphere The end result of this project should be a function that accepts an input altitude and then outputs the pressure, temperature, and density at that altitude as well a script using that function to plot those values for the entire atmosphere.
Assignment:
The ARDC Model Atmosphere has the following parameters:
Sea level temperature K
Sea level pressure kPa
Sea level density kgm
Gradient layer Km up to km
Isothermal layer km to km
Gradient layer Km up to km
Isothermal layer km to km
Gradient layer Km up to km
Isothermal layer km to km
Gradient layer Km up to km
Create a sketch by hand or any drawing tool of the atmosphere pressure, temperature, and density with altitude up to km Please use altitude for the vertical axis; the temperature, pressure, and density do not have to be to scale.
Annotate the sketch with the approximate height of a tall mountain and the cruise altitude of a commercial airliner.
Use equations for the standard atmosphere derived in class to calculate temperature, density, and pressure at the following altitudes. Do these calculations by hand and show your work.
ft
ft
ft
ft
Write a MATLAB function that calculates the air properties at a given altitude using the ARDC standard atmosphere model. The function should not output any variables to the Command Window suppress with semicolon
The function should have the first line:
function T P rho stdatmlastnameFirstnameh;
Test your function at each of the altitudes in Part
Make a table including the values of your hand calculations from Part and the output of your MATLAB code at those altitudes. Add another column with the values given an external reference at those same altitudes you can enter "standard atmosphere calculator" or just "standard atmosphere" into your favorite search engine; you don't have to use the ARDC model as the reference
Comment on any differencessimilarities you notice across the three sets of data; why do you think there are differences, if any?
Write a MATLAB script to call your function with a variable altitude.
Name your script lastnameFirstnameAhwm
Use comments for the first lines in the script to give your name, class, assignment, and date. Your first code line should be:
close all; clear all; clc
Comment all major lines of code creating and setting variables, with units; calling the function
Using control flow in the script, call your function multiple times to create data and plots depicting the properties of the standard atmosphere up to km Plot temperature, pressure, and density on a subplot with altitude as the yaxis.
Submit the files for all the parts above Parts & must be submitted as m files within a zip file file to Canvas with the file name:
lastnameFirstnameahwzip
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