clc //Example 5.6 //calculate velocity of sailboat using pitot tube h=1//m height of water above the water level g=9.81//m/s^2 v=(2*g*h)^0.5//m/s printf("The velocity of sailboat is %f m/s",v);