Kernel: Python 3 (system-wide)
Since we need to find x-intercept from y=mx+b, we will use x:=(y-b)/m. Also, we need to define it as function
In [1]:
We input the variables m and b into the function
Example 1:
In [2]:
Out[2]:
x=(y-8)/7
Example 2:
In [3]:
Out[3]:
x=(y-6)/3
Example 3:
In [4]:
Out[4]:
x=(y-1)/-3
In [0]: