diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3720/CH13/EX13.10 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3720/CH13/EX13.10')
-rw-r--r-- | 3720/CH13/EX13.10/Ex13_10.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3720/CH13/EX13.10/Ex13_10.sce b/3720/CH13/EX13.10/Ex13_10.sce new file mode 100644 index 000000000..6c441540c --- /dev/null +++ b/3720/CH13/EX13.10/Ex13_10.sce @@ -0,0 +1,14 @@ +//Example 13_10
+clc;clear;
+// Given values
+b=5;// Width in m
+y_1=1.5;// m
+P_w=0.6;// m
+g=9.81;// m^2/s
+
+// Calculation
+H=y_1-P_w;//The weir head in m
+C_wd=0.598+(0.0897*(H/P_w));// The discharge coefficient of the weir
+V=C_wd*(2/3)*b*sqrt(2*g)*H^(3/2);// TShe water flow rate through the channel
+printf('The water flow rate through the channel,V=%0.2f m^3/s\n',V);
+// The answer vary due to round off error
|