diff options
Diffstat (limited to '2087/CH11/EX11.3/example11_3.sce')
-rwxr-xr-x | 2087/CH11/EX11.3/example11_3.sce | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/2087/CH11/EX11.3/example11_3.sce b/2087/CH11/EX11.3/example11_3.sce new file mode 100755 index 000000000..6744d3302 --- /dev/null +++ b/2087/CH11/EX11.3/example11_3.sce @@ -0,0 +1,33 @@ +
+
+//example 11.3
+//calculate
+//capacity of siphon
+//head required in oggy spillway
+//length of oggy weir required
+clc;funcprot(0);
+//given
+t=6; //tail water elevation
+h=1; //heigth of siphon spillway
+w=4; //width of siphon spillway
+hw=1.5; //head water elevation
+C=0.6; //coefficient of discharge
+Co=2.25; //coefficient of discharge of oggy spillway
+lo=4; //length of oggy spillway
+hc=1.5; //head on weir crest
+g=9.81; //acceleration due to gravity
+
+//part (a)
+Q=C*h*w*(2*g*(t+hw))^0.5;
+Q=round(Q*10)/10;
+mprintf("capacity of siphon=%f cumecs.",Q);
+
+//part (b)
+h1=(Q/(Co*lo))^(2/3);
+h1=round(h1*100)/100;
+mprintf("\nhead required in oggy spillway=%f m",h1);
+
+//part (c)
+L=Q/(Co*(hc)^1.5);
+L=round(L*100)/100;
+mprintf("\nlength of oggy weir required=%f m.",L);
|