summaryrefslogtreecommitdiff
path: root/1187/CH3/EX3.6/6.sce
diff options
context:
space:
mode:
Diffstat (limited to '1187/CH3/EX3.6/6.sce')
-rwxr-xr-x1187/CH3/EX3.6/6.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1187/CH3/EX3.6/6.sce b/1187/CH3/EX3.6/6.sce
new file mode 100755
index 000000000..3f5f5f88d
--- /dev/null
+++ b/1187/CH3/EX3.6/6.sce
@@ -0,0 +1,20 @@
+clc
+
+Cd=0.61;
+g=9.81; // m/s^2
+b=0.6; // m
+H=0.155; // mQ
+A=0.26; // m^2
+u1=0.254; // m/s
+
+Q=2/3*Cd*sqrt(2*g*b*(H)^3/2);
+
+velo=Q/A;
+
+H1=H+u1^2/(2*g);
+
+Q1=2/3*Cd*sqrt(2*g*b*(H1)^3/2);
+
+disp("Discharge =")
+disp(Q1)
+disp("m^3/s") \ No newline at end of file