Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
| Download
Project: Shared Project -- Fall 2021 MAT1630
Views: 27Image: ubuntu2004
Kernel: Python 3 (system-wide)
In this assignment we will use Bisection Method to find a root of the function in the interval (2, 4) with an error bound of 0.001.
In [3]:
In [4]:
In [5]:
Out[5]:
2.2197265625
In [6]:
Out[6]:
0.0006532685362758972
In [7]:
Out[7]:
[<matplotlib.lines.Line2D at 0x7f4c7d2ea8e0>]
On this plot we can assume that the roots of the function f(x)=ln(x)-sin(x) are not located on (2, 4) interval.
In [0]: