blob: e7d40062a294b9430dbf02402f51357fbe41a320 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// problem 4.3
D=0.1
d=0.05
q=0.02
A=3.142*D*D/4
g=9.81
w=9810
p=58.86*1000
v=q/A
Vh=(v*v)/(2*g)
Ph=p/w
Th=Ph+Vh
a=3.142*d*d/4
Cd=q/(a*((2*g*Th)^0.5))
disp(Cd,"co-efficient of discharge")
|