blob: d8bf44aa9faadeca505a7b21b8db6a1549280358 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
//initialisation of variables
P=12.5 //mole air
n=47.0 //mole fuel
p1=1//mole air
a=28.95 //mole air
m=114.2//mole fuel
//CALCULATIONS
AF=P+n/p1//mole air/mole fuel
A=AF*a/m//lbm air /lbm fuel
//RESULTS
printf('The theoretical air fuel ratio for the combustion of octane=% f lbm air/mole fuel',A)
|