summaryrefslogtreecommitdiff
path: root/2510/CH6/EX6.13/Ex6_13.sce
diff options
context:
space:
mode:
Diffstat (limited to '2510/CH6/EX6.13/Ex6_13.sce')
-rwxr-xr-x2510/CH6/EX6.13/Ex6_13.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/2510/CH6/EX6.13/Ex6_13.sce b/2510/CH6/EX6.13/Ex6_13.sce
new file mode 100755
index 000000000..9deea2297
--- /dev/null
+++ b/2510/CH6/EX6.13/Ex6_13.sce
@@ -0,0 +1,11 @@
+//Variable declaration:
+//From example 6.12, we have:
+D = 2.0/12.0 //Diameter of pipe in feet (ft)
+Re = 1440.0 //Reynolds number
+
+//Calculation:
+Lc = 0.05*D*Re //Length of pipe (ft)
+
+//Result:
+printf("The pipe length to ensure a fully developed flow is: %f ft.",Lc)
+printf("This is an abnormally long calming length for a pipe (or tube) in a heat exchanger.")