clc //initialisation of variables clear n= 1 //mole n1= 400 //mole T= 25 //C H1= 5410 //cal H2= -5020 //cal //CALCULATIONS dH= -(H1+H2) //RESULTS printf ('Heat required to remove the water = %.f cal',dH)