blob: eb8d7990f5f9f91706944961460f74252b973cb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
clc
//initialisation of variables
N= 1450 //rev/min
Q= 500 //gal/min
H= 60 //ft
D= 10.25 //in
//CALCULATIONS
Ns= N*sqrt(Q)/H^0.75
h= (N*sqrt(Q/2)/Ns)^(4/3)
d= D*sqrt(h/H)
//RESULTS
printf (' head= %.f ft',h)
printf (' \n size of the pump= %.2f in',d)
|