In this activity we have a given function f(x) = ln(x)-sin(x) in the interval (2,4). We need to use the bisection method to find the root of the function.
while c-a> err:
return log(x)- sin(x)
I do not know what to do exactly I tried to figure out the root using the code I can not find but I would guess that the root is 2.0454546 from what I see on my graphing calculator when I graph the function.