|
Question 444813: I need to find the equation of the line containg (-2, -7) and (-5, -8)
Found 2 solutions by mananth, ikleyn: Answer by mananth(16949) (Show Source):
You can put this solution on YOUR website! x1 y1 x2 y2
-2 -7 -5 -8
slope m =(y2-y1)/(x2-x1) 0.33
(-8-(-7 ))/(-5-(-2))
(-1/-3)
m=0.33
Plug value of the slope and point (-2,-7) in
Y = m x + b
-7.00 = -0.67 + b
b= -7-0.67
b= -6.33
So the equation will be
Y =0.33 x-6.33
Answer by ikleyn(53419) (Show Source):
You can put this solution on YOUR website! .
I need to find the equation of the line containing (-2, -7) and (-5, -8)
~~~~~~~~~~~~~~~~~~~~~~~~~
This problem requires an exact solution in the form of an equation expressed in rational numbers.
But @mananth in his post works with decimal numbers with two decimals after the decimal point.
It does not produces an exact equation in precise form.
So, what he presents as a solution, is not a solution in precise strict meaning
and can not be accepted as a solution to the problem.
Below I develop EXACT equation in the form as it SHOULD be done.
Calculate the slope m = = = = 0.3333333...
So, an equation of the line in slope-intercept form is
y = mx + b = + b.
We should determine the value of 'b' in this equation.
For it, substitute coordinates of the either given point into the equation
-7 = + b,
-7 = + b,
b = -7 + = -6 = .
The exact equation is
y = .
At this point, the problem solved PRECISELY and CORRECTLY.
Solved.
--------------------------
I know (I just deciphered it out for myself some time ago) that solutions by @mananth
are produced by the computer code.
Detecting this error (I just detected it for the second time) means that the computer code
has a defect (= a hole), which should be fixed.
|
|
|
| |