From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3720/CH13/EX13.10/Ex13_10.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 3720/CH13/EX13.10/Ex13_10.sce (limited to '3720/CH13/EX13.10/Ex13_10.sce') 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 -- cgit