From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2969/CH2/EX2.1/Ex2_1.sce | 24 ++++++++++++++++++++++++ 2969/CH2/EX2.2/Ex2_2.sce | 27 +++++++++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100755 2969/CH2/EX2.1/Ex2_1.sce create mode 100755 2969/CH2/EX2.2/Ex2_2.sce (limited to '2969/CH2') diff --git a/2969/CH2/EX2.1/Ex2_1.sce b/2969/CH2/EX2.1/Ex2_1.sce new file mode 100755 index 000000000..73952824f --- /dev/null +++ b/2969/CH2/EX2.1/Ex2_1.sce @@ -0,0 +1,24 @@ +clc +clear +//DATA GIVEN +c=88; //% of carbon in coal +h=4.2; //% of hydrogen in coal +Wf=0.848; //weight of coal in g +Wfw=0.027; //weight of fuse wire in calorimeter in g +W=1950; //weight of water in calorimeter in g +We=380; //water equivalent of calorimeter +Dt=3.06; //observed temperature rise (t2-t1) in deg celsius +tc=0.017; //cooling correction in deg celsius +cfw=6700; //calorific value of fuse wire in J/g + +//CALCULATIONS +ctr=(Dt)+tc; //corrected temp. rise +Hw=(W+We)*4.18*[ctr]; //heat recieved by water in J +Hfw=Wfw*cfw; //heat given out by fuse wire in J +Hcf=Hw-Hfw; //heat produced due to combustion of fuel in J +HCV=Hcf/Wf; //higher calorific value of fuel in kJ/kg +Ms=9*h/100; //steam produced per kg of coal +LCV=HCV-2465*Ms; //lower calorific value of fuel in kJ/kg + +printf('The Higher calorific value of fuel, H.C.V. is: %5.1f kJ/kg. \n',HCV); +printf(' The Lower calorific value of fuel, L.C.V. is: %5.1f kJ/kg. \n',LCV); diff --git a/2969/CH2/EX2.2/Ex2_2.sce b/2969/CH2/EX2.2/Ex2_2.sce new file mode 100755 index 000000000..a06563e31 --- /dev/null +++ b/2969/CH2/EX2.2/Ex2_2.sce @@ -0,0 +1,27 @@ +clc +clear +//DATA GIVEN +V1=0.08; //gas burnt in calorimeter in m^3 +Pg=5.2; //pressure of gas supply in cm of water +Pb=75.5; //barometer reading in cm of Hg +Ww=28; //weight of water heated by gas in kg +Tg=13; //temperature of gas in deg celsius +Twi=10; //temperature of water at inlet in deg celsius +Two=23.5; //temperature of water at outlet in deg celsius +Ms=0.06; //steam condensed in kg + +//CALCULATIONS +//by using general gas equation, reducing the volume to S.T.P. +//p1*V1/T1=p2*V2/T2 +p1=Pb+(Pg/13.6); //in cm of Hg +T1=Tg+273; //in K +p2=76; //in cm of Hg +T2=15+273; //in K +V2=p1*V1*T2/T1/p2; //in m^3 +Hw=Ww*4.18*(Two-Twi); //heat recieved by water in kJ +HCV=Hw/V1; //higher calorific value of fuel in kJ/m^3 +LCV=HCV-2465*Ms/V1; //lower calorific value of fuel in kJ/m^3 + +printf(' The Calorific values of fuel per m^3 of gas at 15 deg celsius and 76 cm of Hg pressure are: \n'); +printf(' The Higher calorific value of fuel, H.C.V. is: %5.1f kJ/m^3. \n',HCV); +printf(' The Lower calorific value of fuel, L.C.V. is: %5.1f kJ/m^3. \n',LCV); -- cgit