summaryrefslogtreecommitdiff
path: root/536/CH6/EX6.5/Example_6_5.sce
diff options
context:
space:
mode:
Diffstat (limited to '536/CH6/EX6.5/Example_6_5.sce')
-rwxr-xr-x536/CH6/EX6.5/Example_6_5.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/536/CH6/EX6.5/Example_6_5.sce b/536/CH6/EX6.5/Example_6_5.sce
new file mode 100755
index 000000000..4fe222eb2
--- /dev/null
+++ b/536/CH6/EX6.5/Example_6_5.sce
@@ -0,0 +1,13 @@
+clc;
+clear;
+
+printf("\n Example 6.5\n");
+
+L=0.5;// Length of the weir
+printf("\n Given\n Length of the weir = %.1f m",L);
+D=100e-3;//Height of water over the weir
+printf("\n Height of water over the weir = %d",D*1e3);
+n=0;
+//Using Francis formula:
+Q=1.84*(L-(0.1*n*D))*D^1.5;
+printf("\n\n Calculations:\n Volumetric flowrate of water = %.2f m^3/s",Q); \ No newline at end of file