summaryrefslogtreecommitdiff
path: root/409/CH13/EX13.6/Example13_6.sce
blob: baa2d488fbab8fbc3bbc29bd01ddd64d5956a9f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
clear ;
clc;
// Example 13.6
printf('Example 13.6\n\n');
//Page No. 414
// Solution

F_gas =  1 ;// Flue gas [kg mol]
mf_CO2 = 14/100 ;// [mol fraction]
mf_O2 = 6/100 ;// [mol fraction]
mf_N2 = 80/100 ;// [mol fraction]
P = 765 ;//Pressure-[mm of Hg]
T =  400 ;// Temperature-[degree F]
p_CO2 = P * mf_CO2 ;// Partial pressure of CO2-[mm of Hg]
p_O2 = P * mf_O2 ;// Partial pressure of O2-[mm of Hg]
p_N2 = P * mf_N2 ;// Partial pressure of N2-[mm of Hg]

 printf(' Component            pi(Partial pressure-[mm of Hg]) \n');
 printf('  CO2                  %.1f mm of Hg\n ',p_CO2);
 printf(' O2                   %.1f mm of Hg\n ',p_O2);
 printf(' N2                   %.1f mm of Hg\n ',p_N2);