summaryrefslogtreecommitdiff
path: root/2168/CH9/EX9.2/Chapter9_example2.sce
blob: 351f6f8fe423ae793db68b9683c649bb7499c2f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clc
clear
//Input data
d1=0.075//Throat diameter in m
Ca=0.93//Coefficient of air flow
d2=0.005//Orifice diameter in m
Cf=0.68//Coefficient of fuel discharge
ap=1//Approach factor
dp=0.15//Pressure drop in kg/cm^2
da=1.29//Density of air in kg/m^3
df=720//Density of fuel in kg/m^3

//Calcultions
w=(((3.14/4)*d1^2)/((3.14/4)*d2^2))*(Ca/Cf)*sqrt(da/df)//The air-fuel ratio neglecting the nozzle lip

//Output
printf('The air-fuel ratio neglecting the nozzle lip is %3.1f',w)