import math


def get_3rd_side(a, b):
    """
    Returns hypotenuse of a right-angled triangle, given its other sides
    """
    # return np.sqrt(np.sum(np.square(mags)))
    return math.sqrt(a**2 + b**2)