In figure below take into account the speed of the top surface of the tank and show that the speed of fluid leaving the opening at the bottom is where h = y2 - y1 , and A1 and A2 are the areas of the opening and the top surface, respectively. Assume A1 << A2 so that flow remains nearly steady.