import math


def calc_distance(x1, y1, x2, y2):
    """
    Calculate the distance between 2 point given the coordinates

    :param x1: Point 1 X coordinate
    :param y1: Point 1 Y coordinate
    :param x2: Point 2 X coordinate
    :param y2: Point 2 Y coordinate
    :return: Double. Distance between point 1 and point 2
    """
    dx = x2-x1
    dy = y2-y1
    distance = math.hypot(dx, dy)
    return distance