diff options
Diffstat (limited to '1775/CH1/EX1.6/Chapter1_Example6.sce')
-rwxr-xr-x | 1775/CH1/EX1.6/Chapter1_Example6.sce | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/1775/CH1/EX1.6/Chapter1_Example6.sce b/1775/CH1/EX1.6/Chapter1_Example6.sce new file mode 100755 index 000000000..6b95d1115 --- /dev/null +++ b/1775/CH1/EX1.6/Chapter1_Example6.sce @@ -0,0 +1,30 @@ +//Chapter-1, Illustration 6, Page 19
+//Title: Fuels and Combustion
+//=============================================================================
+clc
+clear
+
+//INPUT DATA
+C=0.78;//Percentage composition of Carbon
+H=0.03;//Percentage composition of Hydrogen
+O=0.03;//Percentage composition of Oxygen
+S=0.01;//Percentage composition of Sulphur
+me=0.3;//Mass of excess air supplied
+
+//CALCULATIONS
+m=(11.5*C)+(34.5*(H-(O/8)))+(4.3*S);//Mass of air per kg of coal in kg
+mec=me*m;//Excess air supplied per kg of coal in kg
+mact=m+mec;//Actual mass of air supplied per kg of coal in kg
+mCO2=(11*C)/3;//Mass of CO2 produced per kg of coal in kg
+mHw=9*H;//Mass of H2O produced per kg of coal in kg
+mSO2=2*S;//Mass of SO2 produced per kg of coal in kg
+mO2=0.232*mec;//Mass of excess O2 produced per kg of coal in kg
+mN2=0.768*mact;//Mass of N2 produced per kg of coal in kg
+
+//OUTPUT
+mprintf('Mass of air to be supplied is %3.2f kg \n Mass of CO2 produced per kg of coal is %3.2f kg \n Mass of H2O produced per kg of coal is %3.2f kg \n Mass of SO2 produced per kg of coal is %3.2f kg \n Mass of excess O2 produced per kg of coal is %3.2f kg \n Mass of N2 produced per kg of coal is %3.2f kg \n',m,mCO2,mHw,mSO2,mO2,mN2)
+
+
+
+
+//==============================END OF PROGRAM=================================
|