def approximately_equal(x, y, tol=0.00000000000001):
    """
    Determines if floats x and y are equal within a degree of uncertainty
    Inputs:
    x --- a float
    y --- a float
    tol --- an error tolerance
    """

    return abs(x - y) <= tol