clc //initialisation of variables Hv= 9720 //cal mole^-1 Hv1= 30900 //cal mole^-1 Tb= 373 //K Tb1= 1029 //K //CALCULATIONS Sv= Hv/Tb Sv1= Hv1/Tb1 //RESULTS printf (' Entropy= %.f cal mole deg^-1',Sv) printf (' \n Entropy = %.f cal mole deg^-1',Sv1)