Macro Library solvers
Some solving algorithms. Version 1.1 March 25, 2014
bisectionsolve(function, xmin, xmax)
Applies bisection to find a root of hte function on the interval [xmin, xmax].
This function only works if there is exactly one root in the interval.
discretenewtons(function,xmin,xmax,[guess])
applies a discrete form of Newton's method to find a root of the function
on the interval [xmin,xmax]. Starts at midpoint of interval, or at guess if
provided. If method fails to converge, or converges outside interval, the
method returns null. Make sure function uses the variable x