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)