summaryrefslogtreecommitdiff
path: root/746/CH6/EX6.02/6_02.sce
blob: bf235e7794e54bc5468120a9b0a1038ebdbcf0e3 (plain)
1
2
3
4
5
6
7
8
//Velocity of flow//
pathname=get_absolute_file_path('06.02.sce')
filename=pathname+filesep()+'06.02-data.sci'
exec(filename)
//Velocity of flow(in m/sec):
V=sqrt(2*dw*g*p/1000*SG/da)
printf("\n\nRESULTS\n\n")
printf("\n\nVelocity of flow: %.3f m/sec\n\n",V)