blob: f3c46df79f12df6eb3f731de1c08c40062e51bd9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
clc
//initialisation of variables
g= 32.2 //ft/sec^2
h= 12 //in
r= 10 //in
//CALCULATIONS
w= sqrt(2*g*(r/12)*(12/r)^2)*(60/(2*%pi))
P= h+(r/4)
//RESULTS
printf ('speed of rotation = %.f rev/min',w)
printf ('\n maximum pressure head = %.1f in of water',P)
|