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
Discussion Feb 17
Image: ubuntu2004
Kernel: Python 3 (system-wide)
In [2]:
The x-intercept of any line is where the y value is 0
to find the x intercept, we then simply solve for x if the equation of the line is in point-slope form
this code assumes y is zero and just calculates for x when given m and b
for a line y=4x+5:
In [5]:
Out[5]:
-1.25
For a line y=100x+20:
In [3]:
Out[3]:
-0.2
In [0]: