summaryrefslogtreecommitdiff
path: root/2087/CH16/EX16.2/example16_2.sce
diff options
context:
space:
mode:
Diffstat (limited to '2087/CH16/EX16.2/example16_2.sce')
-rwxr-xr-x2087/CH16/EX16.2/example16_2.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2087/CH16/EX16.2/example16_2.sce b/2087/CH16/EX16.2/example16_2.sce
new file mode 100755
index 000000000..98d622517
--- /dev/null
+++ b/2087/CH16/EX16.2/example16_2.sce
@@ -0,0 +1,22 @@
+
+
+//example 16.2
+//design a trapezoidal concrete lined channel
+clc;funcprot(0);
+//given
+Q=100; //discharge
+S=25/100000; //bed slope
+N=0.016; //rogsity coefficient
+s=1.5; //side slope
+r=8; //b/d ratio
+
+//using manning equation V=(R^2/3*S^1/2)/N;
+//Perimeter=A/R
+//V=Q/A and on simplification we get
+d=((101/10.09)*(12.18/10.09)^(2/3))^(3/8);
+b=r*d;
+b=round(b);
+d=round(d*100)/100;
+mprintf("required bed width=%f m.",b);
+mprintf("\nrequired bed depth=%f m",d);
+