summaryrefslogtreecommitdiff
path: root/572/CH13/EX13.1/c13_1.sce
blob: 2c875ba9c7c8f244fa047faea4392f102003f146 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
//(13.1)  Determine the air–fuel ratio on both a molar and mass basis for the complete combustion of octane, C8H18, with (a) the theoretical amount of air, (b) 150% theoretical air (50% excess air).

//solution

//part(a)
//the combustion equation can be written in the form of 
//C8H18 + a(O2 + 3.76N2) --> b CO2 + c H2O + d N2
//using conservation of mass principle
b = 8
c = 18/2
a = (2*b+c)/2
d = 3.76*a

//The air–fuel ratio on a molar basis is
AFbar = a*(1+3.76)/1

Ma = 28.97                                                                      //molar mass of air
MC8H18 = 114.22                                                                 //molar mass of C8H18
//The air–fuel ratio expressed on a mass basis is
AF = AFbar*[Ma/MC8H18]

printf('The air–fuel ratio on a molar basis is:  %f',AFbar)
printf('\nThe air–fuel ratio expressed on a mass basis is:  %f',AF)

//part(b)
//For 150% theoretical air, the chemical equation for complete combustion takes the form
//c8H18 + 1.5*12.5*(O2 + 3.76N2) --->  b CO2 + c H2O + d N2 + e O2
//using conservation of mass
b = 8
c =18/2
e = (1.5*12.5*2 - c -2*b)/2
d = 1.5*12.5*3.76
//The air–fuel ratio on a molar basis is
AFbar = 1.5*12.5*(1+3.76)/1
//The air–fuel ratio expressed on a mass basis is
AF = AFbar*[Ma/MC8H18]
printf('\n\nThe air–fuel ratio on a molar basis is:  %f',AFbar)
printf('\nThe air–fuel ratio expressed on a mass basis is:  %f',AF)