summaryrefslogtreecommitdiff
path: root/746/CH8/EX8.07/8_07.sce
diff options
context:
space:
mode:
Diffstat (limited to '746/CH8/EX8.07/8_07.sce')
-rwxr-xr-x746/CH8/EX8.07/8_07.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/746/CH8/EX8.07/8_07.sce b/746/CH8/EX8.07/8_07.sce
new file mode 100755
index 000000000..cc05e2cd7
--- /dev/null
+++ b/746/CH8/EX8.07/8_07.sce
@@ -0,0 +1,10 @@
+//Volume low//
+pathname=get_absolute_file_path('8.07.sce')
+filename=pathname+filesep()+'8.07-data.sci'
+exec(filename)
+//Velocity(in ft/sec):
+V2=sqrt(2*g*l/(f*((L+l)/D*12+8)+1))
+//Volume flow rate(in gpm):
+Q=V2*%pi*(D/12)^2/4*7.48*60
+printf("\n\nRESULTS\n\n")
+printf("\n\nVolume low rate: %.3f\n\n",Q)