diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH14/EX14.5 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '2510/CH14/EX14.5')
-rwxr-xr-x | 2510/CH14/EX14.5/Ex14_5.sce | 13 |
1 files changed, 13 insertions, 0 deletions
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.") |