1 2 3 4 5 6 7 8
clc //initialisation of variables Hr= -17.74 //kcal Hr1= 15.31 //kcal //CALCULATIONS dH= Hr+Hr1 //RESULTS printf ('integral heat of dilution= %.2f kcal ',dH)