summaryrefslogtreecommitdiff
path: root/2510/CH14/EX14.12
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2510/CH14/EX14.12
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/CH14/EX14.12')
-rwxr-xr-x2510/CH14/EX14.12/Ex14_12.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/2510/CH14/EX14.12/Ex14_12.sce b/2510/CH14/EX14.12/Ex14_12.sce
new file mode 100755
index 000000000..f43f5e73e
--- /dev/null
+++ b/2510/CH14/EX14.12/Ex14_12.sce
@@ -0,0 +1,12 @@
+//Variable declaration:
+Do = 0.06 //Outside diameter of pipe (m)
+Di = 0.05 //Inside diameter of pipe (m)
+ho = 8.25 //Outside coefficient (W/m^2.K)
+hi = 2000.0 //Inside coefficient (W/m^2.K)
+R = 1.33*10**-4 //Resistance for steel (m^2.K/W)
+
+//Calculation:
+U = 1.0/(Do/(hi*Di)+R+1.0/ho) //Overall heat transfer coefficient (W/m^2.°K)
+
+//Result:
+printf("The overall heat transfer coefficient is : %.2f W/m^2.°K.",U)