HTMLify
Log in
Register
Dashboard
Shortlinks
Frames
API
djdj - HTMLify profile
djdj
471 Files
103163 Views
Latest files of /djdj/me/method
bisection_method.py
djdj/me/method/bisection_method.py
364 Views
0 Comments
from math import*
def fun(x):
return(x**3-4*x-9)
def bisection(x0,x1):
i=1
for _ in range(max):
x2 = ( x0 + x1 ) / 2
print("\n So the root lie b/w the" ,x0, "and", x1)