blob: c2d32e4ef80cdcc6eea7e19d4e64fa143b879300 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
clear
//Initalization of variables
chem=19000 //Btu/lb
m1=204.63 //Btu/lb
M=28.9
w=14580.3
//calculations
ma=(chem-w/M)/(w/M -m1)
//results
printf("Air fuel ratio = %.1f lb air/lb fuel",ma)
|