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.13/Ex6_13.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.13/Ex6_13.sce')
-rw-r--r-- | 3825/CH6/EX6.13/Ex6_13.sce | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/3825/CH6/EX6.13/Ex6_13.sce b/3825/CH6/EX6.13/Ex6_13.sce new file mode 100644 index 000000000..c760324dc --- /dev/null +++ b/3825/CH6/EX6.13/Ex6_13.sce @@ -0,0 +1,25 @@ +clc
+O2=8 //moles of oxygen in combustion equation of C5H12
+N2=8*3.7619 //moles of nitrogen in combustion equation of C5H12
+C5H12=1 //moles of C5H12 in combustion equation of C5H12
+mprintf("Air-fuel ratio=%fmol air/mol fuel\n",(O2+N2)/C5H12)//air-fuel ratio for combustion of C5H12
+molmass1=72 //molar mass of C5H12
+molmass2=28.97 //molar mass of air
+mprintf("Air-fuel ratio=%fkg air/kg fuel\n",((O2+N2)*molmass2)/(molmass1*C5H12))//ans vary due to roundoff error
+a=5//moles of C02(product side) in combustion equation of C5H12 with 150 percent theoretical air
+b=6//moles of H2O(product side) in combustion equation of C5H12 with 150 percent theoretical air
+c=45.14//moles of N2(product side) in combustion equation of C5H12 with 150 percent theoretical air
+d=4//moles of 02(product side) in combustion equation of C5H12 with 150 percent theoretical air
+Totalmol=a+b+c+d
+CO2=a/Totalmol
+mprintf("CO2=%f\n",CO2)//ans vary due to roundoff error
+H2O=b/Totalmol
+mprintf("H2O=%f\n",H2O)//ans vary due to roundoff error
+N2=c/Totalmol
+mprintf("N2=%f\n",N2)//ans vary due to roundoff error
+O2=d/Totalmol
+mprintf("O2=%f",O2)//ans vary due to roundoff error
+
+
+
+
|