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 /2087/CH11/EX11.9 | |
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 '2087/CH11/EX11.9')
-rwxr-xr-x | 2087/CH11/EX11.9/example11_9.sce | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/2087/CH11/EX11.9/example11_9.sce b/2087/CH11/EX11.9/example11_9.sce new file mode 100755 index 000000000..0aa2282a6 --- /dev/null +++ b/2087/CH11/EX11.9/example11_9.sce @@ -0,0 +1,19 @@ +
+
+//example 11.9
+//calculate depth of flow at both end of jumps
+clc;funcprot(0);
+//given
+q=19; //dischrge through spillway
+E=1; //energy loss
+
+//from energy loss equation;E=(y2-y1)^3/4y2y1; and solving it we get
+//x=0.5*(-1+(1+294.39*(x-1)^9/64*x^3))
+//by trial and error method x=2.806
+x=2.806;
+y1=4*x/(x-1)^3;
+y2=x*y1;
+y1=round(y1*1000)/1000;
+y2=round(y2*1000)/1000;
+mprintf("depth of flow at both end of jumps=%f m and %f m. respectively.",y1,y2);
+
|