Artificial Intelligence, Numerical Analysis, Optimization, Python Programming, Statistics.
basic code to create a simple pipeline for bisection method code. a = 1 #Approx first root b = 2 #Approx second root #Function declaration def fun(x): return x*x - 3 a_original = fun(a) b_original = fun(b) i = 0 while i < 50 : #Do this for 50 times c = (a + b)/2 c_original = fun(c) if c_original <