From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1427/CH2/EX2.21/2_21.sce | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 1427/CH2/EX2.21/2_21.sce (limited to '1427/CH2/EX2.21') diff --git a/1427/CH2/EX2.21/2_21.sce b/1427/CH2/EX2.21/2_21.sce new file mode 100644 index 000000000..c837eb1e0 --- /dev/null +++ b/1427/CH2/EX2.21/2_21.sce @@ -0,0 +1,31 @@ +//ques-2.21 +//Calculating GCV and NCV of coal and minimum theoretical air required for combustion and composition of dry products with excess air +clc +C=75;//Percentage of carbon in coal +H=9;//Percentage of hydrogen in coal +S=2;//Percentage of sulphur in coal +O=4;//Percentage of oxygen in coal +N=3;//Percentage of nitrogen in coal +ash=7;//Percentage of ash in coal +L=587;//Latent heat of steam (in kcal/kg) +e=25;//Percentage of excess air used + +//Part (i) +GCV=(8080*C+34500*(H-O/8)+2240*S)*(1/100);//Gross calorific value (in kcal/kg) +NCV=GCV-0.09*H*L;//Net calorific value (in kcal/kg) +printf("The Gross and net calorific values are %.1f kcal.kg and %.1f kcal/kg.\n",GCV,NCV); + +//Part (ii) +min_W=((C/100)*(32/12)+(H/100)*(16/2)+(S/100)*(32/32)-O/100)*(100/23);//minimum weight of air required (in kg) +min_V=min_W*(22.4/28.94);////minimum volume of air required (in kg) +printf(" Minimum weight and volume of air required for combustion are %.3f kg and %.3f kL.\n",min_W,min_V); + +//Part (iii) (with excess air) +m1=(C/100)*1000*(44/12);//weight of carbon dioxide as dry product (in g) +m2=min_W*1000*(77/100)*(1+e/100)+(N/100)*1000;//weight of nitrogen as dry product (in g) +m3=min_W*1000*(23/100)*(e/100);//weight of oxygen as dry product (in g) +total=m1+m2+m3;//total weight (in g) +p1=(m1/total)*100;//percentage of carbon dioxide +p2=(m2/total)*100;//percentage of nitrogen +p3=(m3/total)*100;//percentage of oxygen +printf(" The percentages of carbon dioxide, nitrogen and oxygen as dry product are %.2f, %.2f and %.2f respectively.",p1,p2,p3); -- cgit