summaryrefslogtreecommitdiff
path: root/797/CH8/EX8.7.e/8_07_example.sci
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /797/CH8/EX8.7.e/8_07_example.sci
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '797/CH8/EX8.7.e/8_07_example.sci')
-rw-r--r--797/CH8/EX8.7.e/8_07_example.sci13
1 files changed, 13 insertions, 0 deletions
diff --git a/797/CH8/EX8.7.e/8_07_example.sci b/797/CH8/EX8.7.e/8_07_example.sci
new file mode 100644
index 000000000..1fa0be39a
--- /dev/null
+++ b/797/CH8/EX8.7.e/8_07_example.sci
@@ -0,0 +1,13 @@
+//Example 8-07 Pumping Water through Two Parallel Pipes
+rho = 998 //density of water [kg/m^3]
+mu = 1.002 * 10**-3 //dynamic viscosity of water [kg/m.s]
+epsilon = 0.000045 //roughness for steel pipe[m]
+Wdot_elect = 8000 //electricity consumed by pump [W]
+eta = 70 //efficiency of motor-pump combination [%]
+z_A = 5 //elevation of input reservoir [m]
+z_B = 13 //elevation of output reservoir [m]
+D_1 = 4 //diameter of pipe 1 [cm]
+D_2 = 8 //diameter of pipe 2 [cm]
+L_1 = 36 //length of pipe 1 [m]
+L_2 = 36 //length of pipe 2 [m]
+g = 9.81 //gravitational acceleration [m^2/s] \ No newline at end of file