summaryrefslogtreecommitdiff
path: root/1019/CH3/EX3.16/Example_3_16.sce
blob: 0b7ab234ab92b3f75ecf458ff0c6d1f3ba56c68b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//Example 3.16
clear;
clc;

//Given
DHOH=463;//bond energy of O-H bond in kJ
DHCO=351;//bond energy of C-O bond in kJ
DHCC=348;//bond energy of C-C bond in kJ
DHCH=413;//bond energy of C-H bond in kJ
DHOO=249.2;//half of the bond energy in oxygen molecule in kJ
DHHH=217.97;//half of the bond energy in hydrogen molecule in kJ
DHC=716.68;//energy required to obtain free carbon atom from graphite in kJ

//To determine enthalpy of formation of ethyl alcohol
BE=(5*DHCH)+DHCC+DHCO+DHOH;//total bond enthalpy in kJ
EA=(6*DHHH)+(2*DHC)+DHOO;//enthalpy of atomization in kJ 
delHf=EA-BE;//enthalpy of formation in kJ
mprintf('Enthalpy change = %f kJ',delHf);
//end