I want to make a Python program that will run a bisection method to determine the root of:
f(x) = -26 + 85x - 91x2 +44x3 -8x4 + x5
The Bisection method is a numerical method for estimating the roots of a polynomial f(x).
Are there any available pseudocode, algorithms or libraries I could use to tell me the answer?
My implementation is more generic and yet simpler than the other solutions: (and public domain)
You could see the solution in an earlier Stack Overflow question here that uses scipy.optimize.bisect. Or, if your purpose is learning, the pseudocode in the Wikipedia entry on the bisection method is a good guide to doing your own implementation in Python, as suggested by a commenter on the the earlier question.
With tolerance:
Live: http://repl.it/k6q
Here's some code showing the basic technique: