summaryrefslogtreecommitdiff
path: root/2132/CH6/EX6.14/Example6_14.sce
diff options
context:
space:
mode:
Diffstat (limited to '2132/CH6/EX6.14/Example6_14.sce')
-rwxr-xr-x2132/CH6/EX6.14/Example6_14.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2132/CH6/EX6.14/Example6_14.sce b/2132/CH6/EX6.14/Example6_14.sce
new file mode 100755
index 000000000..e981abb36
--- /dev/null
+++ b/2132/CH6/EX6.14/Example6_14.sce
@@ -0,0 +1,17 @@
+//Example 6.14
+clc;
+clear;
+close;
+format('v',6);
+//Given data :
+g=9.81;//constant
+Cd=0.6;//Coefficient of discharge
+B=1600/1000;//meter
+D=1250/1000;//meter
+ao=1.6*1.25;//m^2
+H1=2+1.25/2;//meter
+H2=0.8+1.25/2;//meter
+H=H1-H2;//meter
+Q=Cd*ao*sqrt(2*g*H);//m^3/sec or Cumec
+disp(Q,"Discharge in Cumec : ");
+//Answer is wrong in the book.