Question: ONE QUICK QUESTION USING MATLAB *************************************************************************************************** ASSUME you have SteamTablePatm : contains 3 variables, Tvals / vvals / hvals, each with 18x1 matrices MATLAB data
ONE QUICK QUESTION USING MATLAB

***************************************************************************************************
ASSUME you have "SteamTablePatm" : contains 3 variables, Tvals / vvals / hvals, each with 18x1 matrices MATLAB data file containing vectors of thermodynamic properties of steam at atmospheric pressure (14.696 psia)
Tvals contains temperature values in degree Fahrenheit. vvals contains specific volume values (inverse of density) in ft^3/lbm. hvals contains specific enthalpy values in Btu/lbm.
Problem 5.4 In thermodynamics, the specific heat, Cp, of a material is the slope of the enthalpy vs. temperature line at a constant pressure. dh dT Write a program to estimate the specific heat of steam between 240 F and 1600 oF by performing a near regression (least squares fit) on the Tvals and hvals data from SteamTablePatm.mat. Your program should display this value along with its units
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
