4.0

4.0 | 2 ratings Rate this file 17 Downloads (last 30 days) File Size: 9.03 KB File ID: #25030

Ideal Air Properties

by Jared Miller

 

14 Aug 2009

Interpolates and outputs air properties that follow the ideal gas law given an input value.

| Watch this File

File Information
Description

This program interpolates air properties following the Ideal Gas Law from the gas table A22 and A22e in the textbook Fundamentals of Engineering Thermodynamics by Moran, Shapiro (6th edition)

MATLAB release MATLAB 7.4 (R2007a)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
03 Sep 2011 Puriwat Athichoktanaparn  
09 Oct 2011 Ross

To allow the output of a variable:

"Simply change the first line of code so that the output is the value
which is found.

function IdealAir=IdealAir(xi,prop1,prop2,unit)

And you can comment out the last line which simply displays the unit on
screen.

%displays on screen (optional step)
% disp([prop2,' = ',num2str(IdealAir)]); "

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
thermodynamics Jared Miller 17 Aug 2009 10:38:47
ideal Jared Miller 17 Aug 2009 10:38:47
gas Jared Miller 17 Aug 2009 10:38:47
law Jared Miller 17 Aug 2009 10:38:47
air Jared Miller 17 Aug 2009 10:38:47
properties Jared Miller 17 Aug 2009 10:38:47
airprop Jared Miller 17 Aug 2009 10:38:47
engineering Jared Miller 17 Aug 2009 10:38:47
property Jared Miller 17 Aug 2009 10:38:47
interpolate Jared Miller 17 Aug 2009 10:38:47

Contact us at files@mathworks.com