summaryrefslogtreecommitdiff
path: root/797/CH8/EX8.2.e/8_02_example.sci
diff options
context:
space:
mode:
Diffstat (limited to '797/CH8/EX8.2.e/8_02_example.sci')
-rw-r--r--797/CH8/EX8.2.e/8_02_example.sci9
1 files changed, 9 insertions, 0 deletions
diff --git a/797/CH8/EX8.2.e/8_02_example.sci b/797/CH8/EX8.2.e/8_02_example.sci
new file mode 100644
index 000000000..f981193f4
--- /dev/null
+++ b/797/CH8/EX8.2.e/8_02_example.sci
@@ -0,0 +1,9 @@
+//Example 8-2 Pressure Drop and Head Loss in a Pipe
+clc;
+//Properties of water at 40F
+rho=1000 //density [kg/m^3]
+mu=1.519 * 10^-3 //dynamic viscosity [kg/m.s]
+g=9.81 //acceleration due to gravity [m/s^2]
+D=0.3 //diameter of pipe [cm]
+L=9 //length of pipe [m]
+V_avg=0.9 //average velocity [m/s] \ No newline at end of file