summaryrefslogtreecommitdiff
path: root/1427/CH18/EX18.3/18_3.sce
blob: a07a4d88f39600fc8e0366c48af50469c3650eda (plain)
1
2
3
4
5
6
7
8
//ques-18.3
//Calculating heat of a reaction
clc
h1=-110.5;//heat of formation of carbon monoxide (in kJ)
h2=-393.8;//heat of formation of carbon dioxide (in kJ)
h3=-241.8;//heat of formation of water (in kJ)
H=h1-h2+h3;//heat of reaction (in kJ)
printf("Heat of the given reaction is %.1f kJ.",H);