summaryrefslogtreecommitdiff
path: root/1309/CH9/EX9.1
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1309/CH9/EX9.1
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1309/CH9/EX9.1')
-rwxr-xr-x1309/CH9/EX9.1/Result9_1.pdfbin0 -> 87980 bytes
-rwxr-xr-x1309/CH9/EX9.1/ch9_1.sce16
2 files changed, 16 insertions, 0 deletions
diff --git a/1309/CH9/EX9.1/Result9_1.pdf b/1309/CH9/EX9.1/Result9_1.pdf
new file mode 100755
index 000000000..902f3b2f0
--- /dev/null
+++ b/1309/CH9/EX9.1/Result9_1.pdf
Binary files differ
diff --git a/1309/CH9/EX9.1/ch9_1.sce b/1309/CH9/EX9.1/ch9_1.sce
new file mode 100755
index 000000000..ff9cd87a7
--- /dev/null
+++ b/1309/CH9/EX9.1/ch9_1.sce
@@ -0,0 +1,16 @@
+clc;
+clear;
+printf("\t\t\tChapter9_example1\n\n\n");
+// determination of counterflow and parallel-flow configurations.
+// temperatures of hot fluid in degree C
+T1=100;
+T2=75;
+// temperatures of cold fluid in degree C
+t1=5;
+t2=50;
+// for counterflow
+LMTD_counter=((T1-t2)-(T2-t1))/(log((T1-t2)/(T2-t1)));
+printf("\nThe LMTD for counter flow configuration is %.1f degree C",LMTD_counter);
+// for parallel flow
+LMTD_parallel=((T1-t1)-(T2-t2))/(log((T1-t1)/(T2-t2)));
+printf("\nThe LMTD for parallel flow configuration is %.1f degree C",LMTD_parallel); \ No newline at end of file