summaryrefslogtreecommitdiff
path: root/617/CH9/EX9.10
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /617/CH9/EX9.10
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 '617/CH9/EX9.10')
-rwxr-xr-x617/CH9/EX9.10/Example9_10.sci27
1 files changed, 27 insertions, 0 deletions
diff --git a/617/CH9/EX9.10/Example9_10.sci b/617/CH9/EX9.10/Example9_10.sci
new file mode 100755
index 000000000..7713dbf7b
--- /dev/null
+++ b/617/CH9/EX9.10/Example9_10.sci
@@ -0,0 +1,27 @@
+clc();
+clear;
+
+// To calculate the terminal temperature of oil and water
+
+To1=160; // inlet temperature of oil in degF
+Cpo=0.5; // Specific heat capacity in Btu/lb-degf
+Tw1=60; // Inlet temperature of water in degF
+mo=1000; // Mass flow rate of oil in lb/hr
+mw=2500; // Mass flow rate of water in lb/hr
+Cpw=1; // Heat capacity of water in Btu/hr
+X=mo*Cpo/(mw*Cpw); // Ratio of flow rates
+UA=1.15*mo*Cpo;
+B=UA/mo*Cpo;
+
+// from the graph, we can locate the point of A and B And corresponding effectiveness ratio
+E=0.86; // Effectiveness ratio
+To2=To1-E*(To1-Tw1); // Outlet temperature of oil in degF
+printf("The outlet temperature of oil is %d degF \n",To2);
+
+q=mo*Cpo*(To1-To2); // Heat transferred in Btu/hr
+Tw2=Tw1+(q/(mw*Cpw)); // Outlet temperature of oil in degF
+printf(" The outlet tempearture of water is %.1f degF",Tw2);
+
+
+
+ \ No newline at end of file