def secant_find_root(func, x0, x1, num_iterations=10, full_output=True):
"""
Use Secant method to find a root of ``func`` with initial guesses x0, and x1
where ``func`` is a function in one variable.
"""
x0 = float(x0)
x1 = float(x1)
for i in range (num_iterations):
x2 = x1 - (f(x1)*(x1-x0))/(f(x1) - f(x0))
x1, x0 = x2, x1
if full_output == True:
print float(x2)
return x2