def vel_horizontal(HeightWaterCritical):
    """Return the horizontal velocity."""
    #Checking input validity
    ut.check_range([HeightWaterCritical, ">0", "Critical height of water"])
    return np.sqrt(gravity.magnitude * HeightWaterCritical)
def vel_horizontal ( HeightWaterCritical ) : ut . check_range ( [ HeightWaterCritical , ">0" , "Critical height of water" ] ) return np . sqrt ( gravity . magnitude * HeightWaterCritical )
Return the horizontal velocity.