summaryrefslogtreecommitdiff
path: root/1808/CH2/EX2.22
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1808/CH2/EX2.22
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '1808/CH2/EX2.22')
-rw-r--r--1808/CH2/EX2.22/Chapter2_Example22.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1808/CH2/EX2.22/Chapter2_Example22.sce b/1808/CH2/EX2.22/Chapter2_Example22.sce
new file mode 100644
index 000000000..dd86f0d71
--- /dev/null
+++ b/1808/CH2/EX2.22/Chapter2_Example22.sce
@@ -0,0 +1,17 @@
+clc
+clear
+//INPUT DATA
+//C8H18+12.5(O2+3.773N2)=8 CO2 +9 H2O +47.16 N2 ;//FUEL COMPOSITION
+n=60.66;//number of moles of air
+
+//CALCULATIONS
+n1=8+9+47.16;//number of moles of air and product
+xs= 15.14/1;//air fuel ratio
+xs1=1/xs;//fuel air ratio
+Mr=(1/n)*(114.15+59.66*28.96);//Molecular weights of reactants
+Mp=(1/n1)*(8*44+9*18+47.16*28);//Molecular weights of products
+
+//OUTPUT
+printf('(i)number of moles of air and product %3.2f \n (ii)(A/F)s %3.2f \n (F/A)s %3.2f \n (iii)Molecular weights of reactants %3.2f \n Molecular weights of products %3.2f',n1,xs,xs1,Mr,Mp)
+
+