1 2 3 4 5 6 7 8 9 10
clc //initialisation of variables w=1500//psia t=300//F h=2.70//Btu h1=269.59//Btu //CALCULATIONS H=h1+h//Btu //RESULTS printf('the specific enthalpy of water=% f Btu',H)