Artificial Intelligence, Numerical Analysis, Optimization, Python Programming, Statistics.
with initial values for a, b, and the number of iterations a_initial = 1 b_initial = 2 iterations = 50 Bisection_method(a_initial, b_initial, iterations) I modified this code such that it will take inputs and it will display the graph of roots. Output of code In the above fig, we can see our