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.6/Ex14_6.sce | |
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.6/Ex14_6.sce')
-rwxr-xr-x | 2510/CH14/EX14.6/Ex14_6.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/2510/CH14/EX14.6/Ex14_6.sce b/2510/CH14/EX14.6/Ex14_6.sce new file mode 100755 index 000000000..9bc785658 --- /dev/null +++ b/2510/CH14/EX14.6/Ex14_6.sce @@ -0,0 +1,13 @@ +//Variable declaration: +T1 = 500.0 //Temperature of hot fluid entering the heat exchanger (°F) +T2 = 400.0 //Temperature of hot fluid exiting the heat exchanger (°F) +t1 = 120.0 //Temperature of cold fluid entering the heat exchanger (°F) +t2 = 310.0 //Temperature of cold fluid exiting the heat exchanger (°F) + +//Calculation: +DT1 = T1 - t2 //Temperature difference driving force at the heat exchanger entrance (°F) +DT2 = T2 - t1 //Temperature difference driving force at the heat exchanger exit (°F) +DTlm = (DT1 - DT2)/(log(DT1/DT2)) //LMTD (driving force) for the heat exchanger (°F) + +//Result: +printf("The LMTD (driving force) for the heat exchanger is : %.0f °F.",DTlm) |