def Secant(f, x_minus2, x_minus1, epsilon = 1.0E-4, N = 10000):
    """
    Uses the Secant method to solve for f(x) = 0 given the values 
    to start at x_-2 and x_-1. returns a 3-tuple of x, n, and f(x)
    """
    x = x_minus2
    n = 0
    while abs(f(x)) > epsilon and n <=N:
        n+= 1
        temp = x
        x = x_minus1 - ( (f(x_minus1)*(x_minus1 - x_minus2))/(f(x_minus1) - f(x_minus2)) )
        x_minus2 = x_minus1
        x_minus1 = temp
    return x, n, f(x)