diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /536/CH6/EX6.5 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '536/CH6/EX6.5')
-rwxr-xr-x | 536/CH6/EX6.5/Example_6_5.sce | 13 |
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 |