summaryrefslogtreecommitdiff
path: root/1943/CH4/EX4.3/Ex4_3.sce
diff options
context:
space:
mode:
Diffstat (limited to '1943/CH4/EX4.3/Ex4_3.sce')
-rwxr-xr-x1943/CH4/EX4.3/Ex4_3.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/1943/CH4/EX4.3/Ex4_3.sce b/1943/CH4/EX4.3/Ex4_3.sce
new file mode 100755
index 000000000..aba54e17b
--- /dev/null
+++ b/1943/CH4/EX4.3/Ex4_3.sce
@@ -0,0 +1,23 @@
+
+clc
+clear
+//Input data
+CO2=12.1;//The amount of carbondioxide released from the combustion in %
+O2=3.8;//The amount of oxygen released from the combustion in %
+CO=0.9;//The amount of carbonmonoxide released from the combustion in %
+MO=32;//Molecular weight of Oxygen
+
+//Calculations
+a=83.2/3.76;//Equating moles for nitrogen from the equation
+b=(2*a)-(2*CO2)-(2*O2)-CO;//Equating moles for oxygen from the equation
+x=CO2+CO;//Equating moles for carbon from the equation
+y=2*b;//Equating moles for hydrogen from the equation
+z=18.75;//Moles of Oxygen from the stoichiometric equation
+z1=a;//Moles of Oxygen from the combustion equation
+E=[(z1-z)/z]*100;//Percentage of excess air in%
+A=(a*MO)/0.232;//Actual air supplied per mole of C13H23
+Mc=179;//Molecular weight of C13H23
+Af=A/Mc;//Air fuel ratio during the test
+
+//Output
+printf('(a) The air fuel ratio during the test = %3.2f \n (b) The excess or deficiency of air used = %3.0f Percentage of excess air used',Af,E)