Solution: Line AB passes through points A(-6,6) and B(12,3). If the equation of the line is written in slope-intercept form, y equals m x plus b , then m equals negative 1 divided by 6 . What is the value of b?
Line AB passes through points A(-6,6) and B(12,3). If the equation of the line is written in slope-intercept form, y=mx+b , then m=- 1/6 . What is the value of b?
Calculations Finished
Code:
import sympy
x1, y1 = -6, 6
x2, y2 = 12, 3
m = sympy.Rational(-1, 6)
# y = mx + b => b = y - mx
b = y1 - m * x1
print(f"{b=}")
Output:
b=5
STEP 1 • VERIFIED
Solution for 6=−61⋅(−6)+b
Have a Math Question?
Ask your own question to get a step-by-step verified solution instantly.