summaryrefslogtreecommitdiff
path: root/1100/CH19/EX19.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1100/CH19/EX19.4
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 '1100/CH19/EX19.4')
-rwxr-xr-x1100/CH19/EX19.4/19_4.sce25
1 files changed, 25 insertions, 0 deletions
diff --git a/1100/CH19/EX19.4/19_4.sce b/1100/CH19/EX19.4/19_4.sce
new file mode 100755
index 000000000..92ea6048a
--- /dev/null
+++ b/1100/CH19/EX19.4/19_4.sce
@@ -0,0 +1,25 @@
+clc
+//initialisation of variables
+wh= 40000 //lb.hr
+cph= 0.5 //Btu/lb F
+th1= 170 //F
+th2= 120 //F
+cpc= 1 //Btu/lb F
+tc2= 140 //F
+tc1= 100 //F
+t= 140 //F
+U= 120 //Btu/sq ft hr F
+//CALCULATIONS
+dh= t-th2
+dc= tc2-tc1
+wc= (wh*cph*(th1-th2))/(cpc*dc)
+dtm= (-(tc1-th2)-(th1-tc2))/log((tc1-th2)/(-th1+tc2))
+q= wh*cph*(th1-th2)
+A= q/(U*dtm)
+th2= ((wh/wc)*(cph/cpc)*th1+tc1)/((wh/wc)*(cph/cpc)+1)
+wc1= (wh*cph*(th1-th2))/(cpc*(th2-tc1))
+//RESULTS
+printf ('Water flow rate= %.f lb/hr',wc)
+printf (' \n Area of heat transfer surface= %.f sq ft',A)
+printf (' \n temperature of the oil= %.f F',th2)
+printf (' \n flow rate= %.f lb/hr',wc1*2)