clc // Given that s = 6.76 // Entropy of saturated steam in kJ/kgK printf("\n Example 9.2") // From the table A.1(b) given in the book at s= 6.76 kJ/kgK p = 0.6 t=158.85 v_g=0.3156 h_g=2756.8 printf("\n pressure = %f Mpa\n Temperature = %f degree centigrade\n Specific volume = %f m^3/kg\n enthalpy = %f kJ/kg",p,t,v_g,h_g)