clc //initialisation of variables h=10//m h1=20//m g=9.8//m/s^2 //CALCULATIONS V=sqrt(2*g*h)//m/s T=sqrt((2)*(h1)/g)//s L=V*T//m //RESULTS printf('The water steram touch the ground is=% f m',L)