The MATLAB code declares symbolic and numeric constants to calculate saturation properties of water including pressure, density, and enthalpy at three temperatures using IAPWS equations. Expressions are defined for saturation pressure, saturated liquid density, saturated vapor density, and specific enthalpy as functions of temperature. The properties are then calculated at 42°C, 102°C and 327°C.
Download as DOCX, PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
80 views
MATLAB Code
The MATLAB code declares symbolic and numeric constants to calculate saturation properties of water including pressure, density, and enthalpy at three temperatures using IAPWS equations. Expressions are defined for saturation pressure, saturated liquid density, saturated vapor density, and specific enthalpy as functions of temperature. The properties are then calculated at 42°C, 102°C and 327°C.