summaryrefslogtreecommitdiff
path: root/1019/CH3/EX3.6/Example_3_6.sce
blob: 39734026d4a62723ab273af7c15f7811d27bac65 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Example 3.6
clear;
clc;

//Given 
delHfCO2 = -393.5;//heat of formation in kJ of carbondioxide
delHfH2O = -285.8;//heat of formation in kJ of water
delHfC2H6 = -84.5;//heat of formation in kJ ethane
delHfO2 =  0;//heat of formation of oxygen

//To determine the enthalpy change for given reaction
delH = (2*delHfCO2)+(3*delHfH2O)-(delHfC2H6+(3.5*delHfO2));//enthalpy change in kJ
mprintf('enthalpy change for given reaction = %f kJ',delH);
//end