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/CH14/EX14.5/Ex14_5.sce | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 2510/CH14/EX14.5/Ex14_5.sce (limited to '2510/CH14/EX14.5') diff --git a/2510/CH14/EX14.5/Ex14_5.sce b/2510/CH14/EX14.5/Ex14_5.sce new file mode 100755 index 000000000..897834383 --- /dev/null +++ b/2510/CH14/EX14.5/Ex14_5.sce @@ -0,0 +1,13 @@ +//Variable declaration: +Ts = 100.0 //Steam temperature at 1 atm (°C) +T1 = 25.0 //Initial fluid temperature (°C) +T2 = 80.0 //Final fluid temperature (°C) + +//Calculation: +DT1 = Ts - T1 //Temperature difference driving force at the fluid entrance (°C) +DT2 = Ts - T2 //Temperature driving force at the fluid exit (°C) +DTlm = (DT1 - DT2)/log(DT1/DT2) //Log mean temperature difference (°C) + +//Result: +printf("The LMTD is : %.1f °C.",DTlm) +printf("There is a calculation mistake regarding final result in book.") -- cgit