blob: 389b4fe5538652870e54566c9c7b687942c36d4c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clc
//initialisation of variables
A= 4 //in^2
g= 32.2 //ft/sec^2
c= 0.64
H= 10 //ft
Ha= 34 //ft
//CALCULATIONS
v= sqrt(H*2*g/(1+(1/c-1)^2))
D= (A/144)*v
vc= v/c
Hc= H+Ha-(vc^2/(2*g))
//RESULTS
printf (' Pessure at the vvena contracta = %.1f ft',Hc)
|