summaryrefslogtreecommitdiff
path: root/2510/CH15/EX15.5/Ex15_5.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH15/EX15.5/Ex15_5.sce
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 '2510/CH15/EX15.5/Ex15_5.sce')
-rwxr-xr-x2510/CH15/EX15.5/Ex15_5.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2510/CH15/EX15.5/Ex15_5.sce b/2510/CH15/EX15.5/Ex15_5.sce
new file mode 100755
index 000000000..c92af9937
--- /dev/null
+++ b/2510/CH15/EX15.5/Ex15_5.sce
@@ -0,0 +1,17 @@
+//Variable declaration:
+T1 = 210.0 //Initial temperature of oil (.)
+T2 = 170.0 //Final temperature of oil (.)
+T3 = 60.0 //Surface temperature of oil (.)
+m = 8000.0 //Flow rate of oil inside tube (lb/h)
+cp = 0.55 //Heat capacity of oil (Btu/lb..)
+U = 63.0 //Overall heat teansfer coefficient (Btu.h.ft^2..)
+
+//Calculation:
+DT1 = T1-T3 //Temperature difference 1 (.)
+DT2 = T2-T3 //Temperature difference 2 (.)
+DTlm = (DT1-DT2)/log(DT1/DT2) //Log mean temerature difference (.)
+Q = m*cp*(T1-T2) //Heat transferred (Btu/h)
+A = Q/(U*DTlm) //Heat transfer area (ft^2)
+
+//Result:
+printf("The required heat transfer area is : %.2f ft^2 .",A)