def newton(function, function1, startingInt):
    x_n = startingInt
    while True:
        x_n1 = (x_n - (function(x_n) / function1(x_n)))
        if (abs((x_n - x_n1)) < 1e-05):
            return x_n1
        x_n = x_n1
def newton(function, function1, startingInt):
    x_n = startingInt
    while True:
        x_n1 = (x_n - (function(x_n) / function1(x_n)))
        if (abs((x_n - x_n1)) < 1e-05):
            return x_n1
        x_n = x_n1