summaryrefslogtreecommitdiff
path: root/2705/CH8/EX8.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2705/CH8/EX8.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2705/CH8/EX8.1')
-rwxr-xr-x2705/CH8/EX8.1/Ex8_1.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2705/CH8/EX8.1/Ex8_1.sce b/2705/CH8/EX8.1/Ex8_1.sce
new file mode 100755
index 000000000..dc5881db5
--- /dev/null
+++ b/2705/CH8/EX8.1/Ex8_1.sce
@@ -0,0 +1,24 @@
+
+clear;
+clc;
+disp('Example 8.1');
+
+// aim : To determine
+// the stoichiometric mass of air required to burn 1 kg the fuel
+
+// Given values
+C = .72;// mass fraction of C; [kg/kg]
+H2 = .20;// mass fraction of H2;, [kg/kg]
+O2 = .08;// mass fraction of O2, [kg/kg]
+aO2=.232;// composition of oxygen in air
+
+// solution
+// for 1kg of fuel
+mO2 = 8/3*C+8*H2-O2;// mass of O2, [kg]
+
+// hence stoichiometric mass of O2 required is
+msO2 = mO2/aO2;// [kg]
+
+mprintf('\n The stoichiometric mass of air required to burn 1 kg the fuel should be = %f kg\n',msO2);
+
+// End