کد متلب محاسبه ی آنتالپی و آنتروپی مواد خالص در حالت تغییر فاز ورودی ها: state,eos,T1,P1,T2,P2,cmp خروجی ها: [dH dS] نوع فایل: Matlab % state: fluid state (liquid: L, vapor: V) % eos: type of the equation of state (VR, VDW, RK, SRK, PR) % T1,P1: temperature (K) and pressure (bar) at state 1 % T2,P2: temperature (K) and pressure (bar) at state 2 % cmp: structure containing the properties of pure fluids % (A, B, C, D (coefficients of Cp equation), Tc, Pc, w) % outputs: % dH: change in enthalpy % dS: change in entropy Enthalpy and Entropy Departures at Each State State 1 State 2 ...