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/CH16/EX16.22/Ex16_22.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 2510/CH16/EX16.22/Ex16_22.sce (limited to '2510/CH16/EX16.22/Ex16_22.sce') diff --git a/2510/CH16/EX16.22/Ex16_22.sce b/2510/CH16/EX16.22/Ex16_22.sce new file mode 100755 index 000000000..5c289d40d --- /dev/null +++ b/2510/CH16/EX16.22/Ex16_22.sce @@ -0,0 +1,19 @@ +//Variable declaration: +//From example 16.22: +t2 = 75.0 //Temperature of water leaving the shell ( F) +t1 = 35.0 //Temperature of water entering the shell ( F) +T2 = 75.0 //Temperature of oil leaving the tube ( F) +T1 = 110.0 //Temperature of oil entering the tube ( F) +U = 320.0 //Overall heat transfer coefficient (W/m^2.K) +A = 19.5 //Required heat transfer area (m^2) +Cmin = 4736.0 //Minimum capacitance rate (W/K) + +//Calculation: +DT1 = t2-t1 //Actual water temperature change ( F) +DT2 = T1 - t1 //Maximum water temperature change ( F) +E = DT1/DT2 //Effectiveness +NTU = (U*A)/Cmin //Number of transfer units + +//Result: +printf("The effectiveness is : %.3f .",E) +printf("The NTU is : %.3f",NTU) -- cgit