summaryrefslogtreecommitdiff
path: root/629/CH15/EX15.5/example15_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '629/CH15/EX15.5/example15_5.sce')
-rw-r--r--629/CH15/EX15.5/example15_5.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/629/CH15/EX15.5/example15_5.sce b/629/CH15/EX15.5/example15_5.sce
new file mode 100644
index 000000000..f9add62ed
--- /dev/null
+++ b/629/CH15/EX15.5/example15_5.sce
@@ -0,0 +1,12 @@
+clear
+clc
+//Example 15.5 DISCHARGE USING CHEZY EQUATION
+n=0.015;
+l=10; //width[ft]
+y=6; //depth[ft]
+Rh=l*y/(l+2*y)
+So=0.0016; //channel slope
+A=l*y //area[ft^2]
+//Discharge
+Q=1.49*A*Rh^(2/3)*So^(1/2)/n //[cfs]
+printf("\nThe discharge in the concrete channel = %.f cfs.\n",Q) \ No newline at end of file