document.write( "Question 255829: how do i find the equation of a line through two points, (4,3) and (2,4)? Please explain, the book says the answer is y=-1/2x+5 but I don't get how they got -1/2 and 5. \n" ); document.write( "
Algebra.Com's Answer #188064 by Greenfinch(383)\"\" \"About 
You can put this solution on YOUR website!
First, the gradient.
\n" ); document.write( "The x co-ord goes from 4 to 2 which is -2
\n" ); document.write( "The y co-ord goes from 3 to 4 which is +1
\n" ); document.write( "gradient is y/x = 1/-2 = -1/2.
\n" ); document.write( "The value of y when x = 0 will be 5 the point (0,5) known as the y intercept
\n" ); document.write( "The equstion is y = gradient x + y intercept
\n" ); document.write( "which is y = - 1/2x + 5
\n" ); document.write( "
\n" );