import math


def heuristic(point_list, end):
    """
    Compute Heuristic Function h(x) = Euclidean distance between node x and goal point.

    :param point_list: list of points to compute.
    :param end: goal point.
    :return: list of heuristic values.
    """
    h_list = []
    for point in point_list:
        h_value = math.sqrt((end[0] - point[0]) ** 2 + (end[1] - point[1]) ** 2)
        h_list.append(h_value)
    return h_list