diff options
Diffstat (limited to '2519/CH16/EX16.6/Ex16_6.sce')
-rwxr-xr-x | 2519/CH16/EX16.6/Ex16_6.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2519/CH16/EX16.6/Ex16_6.sce b/2519/CH16/EX16.6/Ex16_6.sce new file mode 100755 index 000000000..ada4e33c8 --- /dev/null +++ b/2519/CH16/EX16.6/Ex16_6.sce @@ -0,0 +1,17 @@ +clc
+clear
+//Initialization of variables
+N2=78.1
+M=29
+ba=2.12
+x4=0.3
+x5=3.7
+x6=14.7
+//calculations
+O2=N2/3.76
+c=14.7
+b= x4*4 + x5*2 + x6*2
+a=b/ba
+AF=(O2+N2)*M/(a*12 + b)
+//results
+printf("Air fuel ratio = %.1f lbm air/lbm fuel",AF)
|