blob: 1ea2136474ab830ba0d6ef5983db44b2bd249643 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
clc
//initialisation of variables
w= 48 //ft/sec
u= 60 //ft/sec
g= 32.2 //ft/sec^2
hm= 5.5 //ft
Ws= 100 //ft
Wi= 94.5 //ft
hc= 21 //ft
hi= 5 //ft
//CALCULATIONS
Wo= w*u/g
nm= 1-(h/Ws)
nh= 1-((hc+hi)/Wi)
no= nm*nh
//RESULTS
printf (' Hydraulic efficiency= %.3f ',nh)
printf (' \n Hydraulic efficiency= %.3f ',no)
|