blob: 6744d33022b0cb83abe18e8d376d36f14c47ac8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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);
|