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/CH4/EX4.12/Ex4_12.sce | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 2510/CH4/EX4.12/Ex4_12.sce (limited to '2510/CH4/EX4.12') diff --git a/2510/CH4/EX4.12/Ex4_12.sce b/2510/CH4/EX4.12/Ex4_12.sce new file mode 100755 index 000000000..f7fad88f9 --- /dev/null +++ b/2510/CH4/EX4.12/Ex4_12.sce @@ -0,0 +1,22 @@ +//Variable declaration: +n = 3500.0 //Inlet flowrate of water (gal/min) +Cp_W = 75.4 //Heat capacity of water (J/(gmol . °C) +p = 62.4 //Density of water (lb/ft^3) +M = 24*60.0 //Minutes in a day (min/day) +G = 7.48 //Gallons in a feet cube (gal/ft^3) +gm = 454.0 //Grams in a pound (g/lb) +J = 1054.0 //Joules in a Btu (J/Btu) +g = 18.0 //Grams in a gmol (g/gmol) +F = 1.8 //Degree fahrenheit in a degree celcius (°F) +Ti = 38.0 //Initial temperature (°F) +Tf = 36.2 //Final temperature (°F) + +//Calculations: +T= Ti-Tf //Temperature loss (°F) +m = n*p*M/G //Mass flow rate of water (lb/day) +Cp = Cp_W*gm/J/g/F //Heat capacity in cosistent units (Btu/(lb.°F)) +Q = m*Cp*T //Rate of heat flow from water (Btu/day) + +//Result: +printf ("The rate of Btu removed from the water per day is : %.2f x 10**8 Btu/day.",Q/10**8) +printf ("There is a calculation mistake in the book regarding the final result.") -- cgit