summaryrefslogtreecommitdiff
path: root/1484/CH6/EX6.31/6_31.sce
blob: bda56e2c75203300e993969e0ea252d43af05bc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15

clc 
//initialisation of variables
d= 50 //ft
d1= 6 //in
l= 500 //ft
H1= 20 //ft
f= 0.0075
g=32.2
//CALCULATIONS
a= %pi*(d1/12)^2/4
T= 2*sqrt(4*f*l/(d1/12))*(H1^0.5)/(a*sqrt(2*g)*2/1963)
//RESULTS
printf ('time rquired for the tanks to same level= %.f sec',T)