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 --- 2510/CH18/EX18.21/Ex18_21.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 2510/CH18/EX18.21/Ex18_21.sce (limited to '2510/CH18/EX18.21/Ex18_21.sce') diff --git a/2510/CH18/EX18.21/Ex18_21.sce b/2510/CH18/EX18.21/Ex18_21.sce new file mode 100755 index 000000000..392267b1d --- /dev/null +++ b/2510/CH18/EX18.21/Ex18_21.sce @@ -0,0 +1,17 @@ +//Variable declaration: +m1 = 144206 //Mass flow rate of flue gas (lb/h) +cp1 = 0.3 //Average heat capacities of the flue gas (Btu/lb F) +cp2 = 0.88 //Average heat capacities of the solid (Btu/lb F) +//From example 18.18: +T1 = 550 //Initial temperature of gas ( F) +T2 = 2050 //Final temperature of gas ( F) +T3 = 70 //Initial temperature of solid ( F) +T4 = 550-40 //Final temperature of solid ( F) + +//Calculation: +Dhf = m1*cp1*(T2-T1) //For the flue gas, the enthalpy change for one hour of operation (Btu) +Dhs = round(Dhf*10**-4)/10**-4 //For the solids, the enthalpy change for one hour of operation (Btu) +m2 = Dhs/(cp2*(T4-T3)) //Mass of solid (lb) + +//Result: +printf("The mass of solid is : %.0f lb .",m2) -- cgit