diff options
Diffstat (limited to '1427/CH2/EX2.17/2_17.sce')
-rw-r--r-- | 1427/CH2/EX2.17/2_17.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/1427/CH2/EX2.17/2_17.sce b/1427/CH2/EX2.17/2_17.sce new file mode 100644 index 000000000..23896674b --- /dev/null +++ b/1427/CH2/EX2.17/2_17.sce @@ -0,0 +1,19 @@ +//ques-2.17
+//Calculating quantities of dry products of combustion
+clc
+C=662;//Mass of carbon in 1kg of coal sample (in g)
+H=42;//Mass of hydrogen in 1kg of coal sample (in g)
+O=61;//Mass of oxygen in 1kg of coal sample (in g)
+N=14;//Mass of nitrogen in 1kg of coal sample (in g)
+S=29;//Mass of sulphur in 1kg of coal sample (in g)
+moist=97;//Mass of moisture in 1kg of coal sample (in g)
+ash=95;//Mass of ash in 1kg of coal sample (in g)
+e=25;//Percentageof excess air used
+min_O=C*(32/12)+H*(16/2)+S-O;//Minimum weight of oxygen required (in g)
+min_air=min_O*(100/23);//Minimum weight of air required for complete combustion (in g)
+m_C=C*(44/12);//Weight of carbon dioxide (with excess air) (in g)
+m_S=S*(64/32);//Weight of sulphur dioxide (with excess air) (in g)
+m_N=N+min_air*(1+e/100)*(77/100);//Weight of nitrogen (with excess air) (in g)
+m_O=min_O*(e/100);//Weight of excess oxygen (in g)
+Total=m_C+m_S+m_N+m_O;//Total weight of dry products (in g)
+printf("The total weight of dry products is %.3f kg.",Total/1000);
|