diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3825/CH6/EX6.14/Ex6_14.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3825/CH6/EX6.14/Ex6_14.sce')
-rw-r--r-- | 3825/CH6/EX6.14/Ex6_14.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3825/CH6/EX6.14/Ex6_14.sce b/3825/CH6/EX6.14/Ex6_14.sce new file mode 100644 index 000000000..7ee879344 --- /dev/null +++ b/3825/CH6/EX6.14/Ex6_14.sce @@ -0,0 +1,22 @@ +clc
+O2=0.19 //moles of O2
+N2a=0.19*3.7619 //moles of N2
+CO=0.26 //moles of CO in fuel
+H2=0.12 //moles of H2 in fuel
+CO2=0.07 //moles of CO2 in fuel
+N2b=0.55 //moles of N2 in fuel
+mprintf("Theoretical ari-fuel ratio=%f mole air/mole fuel\n",(O2+N2a)/(CO+H2+CO2+N2b))//ans vary due to roundoff error
+CO2=0.33 //moles in product after combustion
+H2O=0.12//moles in product after combustion
+O2=0.038//moles in product after combustion
+N2=1.408//moles in product after combustion
+//product analysis
+sigmaNi=CO2+H2O+O2+N2
+a=CO2/sigmaNi //for CO2
+b=H2O/sigmaNi //for H2O
+c=O2/sigmaNi //for O2
+d=N2/sigmaNi //for N2
+mprintf("yi=.\n%f\n%f\n%f\n%f",a,b,c,d)//ans may vary due to roundoff error
+
+
+
|