summaryrefslogtreecommitdiff
path: root/1427/CH18/EX18.1/18_1.sce
blob: 833a292b2fdcdf9f69cfbb92b641a3898451a19d (plain)
1
2
3
4
5
6
7
8
//ques-18.1
//Calculating heat of formation of ethyl alcohol
clc
h1=-333;//heat of combustion of ethyl alcohol (in kcal)
h2=-94.3;//heat of formation of carbon dioxide (in kcal)
h3=-68.5;//heat of formation of water (in kcal)
H=2*h2+3*h3-h1;//heat of formation of ethyl alcohol (in kcal)
printf("Heat of formation of ethyl alcohol is %.1f kcal.",H);