Calculating flow and volume of water: