Venturimeter works on the basis of