summaryrefslogtreecommitdiff
path: root/1199/CH2/EX2.6/2_6.sci
blob: f4df7582173712a148417a379160f820f2298091 (plain)
1
2
3
4
5
6
7
8
9
// 2.6
clc;
Pd=10*10^3;
d=1000;
VmeanW= (2*Pd/d)^0.5;
printf("Mean velocity of water = %.2f m/s",VmeanW)
d=0.65;
Va= (2*Pd/d)^0.5;
printf("\nVelocity of air= %.1f m/s",Va)