summaryrefslogtreecommitdiff
path: root/1187/CH10/EX10.2/2.sce
diff options
context:
space:
mode:
Diffstat (limited to '1187/CH10/EX10.2/2.sce')
-rwxr-xr-x1187/CH10/EX10.2/2.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/1187/CH10/EX10.2/2.sce b/1187/CH10/EX10.2/2.sce
new file mode 100755
index 000000000..33121a10d
--- /dev/null
+++ b/1187/CH10/EX10.2/2.sce
@@ -0,0 +1,21 @@
+clc
+
+w=0.04; // thickness of block in m
+d=0.07; // depth of liquid in m
+b=0.4; // m
+g=9.81; // m/s^2
+
+H=d-w;
+
+Q=1.705*b*H^(3/2);
+
+u1=Q/d/b;
+h=u1^2/(2*g);
+
+H1=H+h;
+
+Q1=1.705*b*H1^(3/2);
+
+disp("Rate of flow = ")
+disp(Q1)
+disp("m^3/s") \ No newline at end of file