summaryrefslogtreecommitdiff
path: root/1019/CH3/EX3.25/Example_3_25.sce
blob: ecdae6900d374ae58a2dbad70d5226a5afe5c1cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//Example 3.25
clear;
clc;

//Given
delH1=-242;//heat of reaction (i) in kJ mol^-1
delH2=-640;//heat of reaction (ii) in kJ mol^-1
delH3=-540;//heat of reaction (iii) in kJ mol^-1

//To determine enthalpy changes per kg
nH2=200;//number of moles of hydrogen in 1 kg gas (mol)
nO2=31.25;//number of moles of oxygen in 1 kg gas (mol)
nCH3OH=31.25;////number of moles of methanol in 1 kg (mol)
nF2=26.3;//number of moles of flourine in 1 kg gas (mol)

delH11=delH1*(2*nO2);//enthalpy of reaction (i)
mprintf('enthalpy of reaction (i) = %i kJ',delH11);

delH22=delH2*(20.8);//enthalpy of reaction (ii)
mprintf('\n enthalpy of reaction (ii) = %i kJ',delH22);

delH33=delH3*(nF2);//enthalpy of reaction (iii)
mprintf('\n enthalpy of reaction (iii) = %i kJ',delH33);
//end