blob: a1d8e2fdcc943fe191c628760b0a4ff39120a7c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
clc
//initialisation of variables
clear
c=82.3//lbm
a=8.9//lbm
e=9.3//lbm
b=2*e//lbm
d=c/3.76//lbm
Af=(21.9+82.3)*(28.95)/(a*(12)+b*(1))//lbm air/lbm fuel
Carbon=(a*(12))/(a*(12)+b*(1))*100//percent
Hydrogen=(b*(1))/(a*(12)+b*(1))*100//percent
AFtheo=(13.5+50.8)*28.95/(a*(12)+(b*(1)))//lbm air/lbm fuel
//CALCULATIONS
T=Af/AFtheo*100//percent
//RESULTS
printf('Theoretical air requirement combustion equation=% f percent',T)
|