summaryrefslogtreecommitdiff
path: root/1466/CH7/EX7.7/7_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '1466/CH7/EX7.7/7_7.sce')
-rwxr-xr-x1466/CH7/EX7.7/7_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/1466/CH7/EX7.7/7_7.sce b/1466/CH7/EX7.7/7_7.sce
new file mode 100755
index 000000000..704dbb22f
--- /dev/null
+++ b/1466/CH7/EX7.7/7_7.sce
@@ -0,0 +1,16 @@
+
+clc
+//initialisation of variables
+Th=100+20//ft
+g=32.2
+k1=1.875
+k2=9.14
+pi=22/7
+r=0.25
+//CALCULATIONS
+k=1/(2*g)
+k3=(k+(k1/(k2*k2)))
+v=sqrt(Th/k3)
+dis=pi*r*r*v/4
+//results
+printf (' Discharge through pipe= %.2f ft^3/sec ',dis)