summaryrefslogtreecommitdiff
path: root/167/CH15/EX15.1/ex1.sce
diff options
context:
space:
mode:
Diffstat (limited to '167/CH15/EX15.1/ex1.sce')
-rwxr-xr-x167/CH15/EX15.1/ex1.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/167/CH15/EX15.1/ex1.sce b/167/CH15/EX15.1/ex1.sce
new file mode 100755
index 000000000..d9fe3d80b
--- /dev/null
+++ b/167/CH15/EX15.1/ex1.sce
@@ -0,0 +1,14 @@
+//example 1
+//Balancing the Combustion Equation
+clear
+clc
+Mair=28.97 //Molar mass of air in kg/kmol
+x=8 //no. of moles of CO2 in products
+y=9 //no. of moles of H2O in products
+z=7.5 //no. of moles of O2 in products
+w=75.2 // no. of moles of N2 in products
+NMair=20*4.76*29 //mass of air in kg
+NMc=8*12 //mass of carbon in fuel in kg
+NMh2=2*9 //mass of hydrogen in fuel in kg
+AF=NMair/(NMc+NMh2) //air fuel ratio in kg air/kg fuel
+printf("\n Hence, the air fuel ratio for this combustion process is = %.1f kg air/kg fuel. \n",AF); \ No newline at end of file