def get_magnitudes(u, v):
    """
    takes in velocity components 'u' (int or float, array-like containing int or float)
    and 'v' (int or float, array-like containing int or float) and returns velocity magnitude

    m = (u^2 + v^2) ^ 0.5

    """
    return (u ** 2 + v ** 2) ** 0.5