From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2087/CH11/EX11.9/example11_9.sce | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 2087/CH11/EX11.9/example11_9.sce (limited to '2087/CH11/EX11.9') 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); + -- cgit