summaryrefslogtreecommitdiff
path: root/1457/CH16/EX16.3/16_3.sce
blob: db6cd69ca490eecb9fe3e1fa6a77f41172e34bc1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
clc
//Initialization of variables
ns=70 
z1=10 //ft
z2=5000 //ft
//calculations
P1=12.2*144/62.4
P2=0.26*144/62.4
sigmac=0.31
h=(P1-P2-z1)/sigmac
//results
printf("Max permissible head to assure against cavitation = %d ft",h)