summaryrefslogtreecommitdiff
path: root/1775/CH1/EX1.3
diff options
context:
space:
mode:
Diffstat (limited to '1775/CH1/EX1.3')
-rwxr-xr-x1775/CH1/EX1.3/Chapter1_Example3.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/1775/CH1/EX1.3/Chapter1_Example3.sce b/1775/CH1/EX1.3/Chapter1_Example3.sce
new file mode 100755
index 000000000..6b98548ab
--- /dev/null
+++ b/1775/CH1/EX1.3/Chapter1_Example3.sce
@@ -0,0 +1,25 @@
+//Chapter-1, Illustration 3, Page 16
+//Title: Fuels and Combustion
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+C=0.78;//Percentage composition of Carbon
+H=0.06;//Percentage composition of Hydrogen
+O=0.078;//Percentage composition of Oxygen
+N=0.012;//Percentage composition of Nitrogen
+S=0.03;//Percentage composition of Sulphur
+
+//CALCULATIONS
+m=(11.5*C)+(34.5*(H-(O/8)))+(4.3*S);//Minimum quantity of air required in kg
+mt=((11*C)/3)+(9*H)+(2*S)+(8.32+N);//Total mass of products of combustion in kg
+
+//OUTPUT
+mprintf('Minimum quantity of air required for complete combustion is %3.2f kg \n Total mass of products of combustion is %3.3f kg',m,mt)
+
+
+
+
+
+//==============================END OF PROGRAM=================================