diff options
Diffstat (limited to '629/CH13/EX13.7')
-rw-r--r-- | 629/CH13/EX13.7/ex13_7.txt | 3 | ||||
-rw-r--r-- | 629/CH13/EX13.7/example13_7.sce | 12 |
2 files changed, 15 insertions, 0 deletions
diff --git a/629/CH13/EX13.7/ex13_7.txt b/629/CH13/EX13.7/ex13_7.txt new file mode 100644 index 000000000..b5e8e9b96 --- /dev/null +++ b/629/CH13/EX13.7/ex13_7.txt @@ -0,0 +1,3 @@ +
+The discharge of water over the weir = 0.23 m^3/s.
+
\ No newline at end of file diff --git a/629/CH13/EX13.7/example13_7.sce b/629/CH13/EX13.7/example13_7.sce new file mode 100644 index 000000000..8d600774b --- /dev/null +++ b/629/CH13/EX13.7/example13_7.sce @@ -0,0 +1,12 @@ +clear
+clc
+//Example 13.7 FLOW RATE FOR A RECTANGULAR WEIR
+H=0.21; //head on weir[m]
+P=0.6; //height of weir[m]
+L=1.3; //width[m]
+g=9.81; //acceleration due to gravity[m/s^2]
+//Flow coefficient
+K=0.4+0.05*(H/P)
+//Discharge
+Q=K*L*sqrt(2*g*H^3) //[m^3/s]
+printf("\nThe discharge of water over the weir = %.2f m^3/s.\n",Q)
\ No newline at end of file |