clc //initialisation of variables P= 15 //bar T= 300 //C h1= 3043.1 //J/gm //CALCULATIONS u2= h1 T= 453.4 //RESULTS printf ('Temperature of the steam in the tank= %.1f C',T)