Question 440722
.
Could someone please help me to graph the line containing the given pair of points and find the slope?
(6, 3) (-5, -2)
~~~~~~~~~~~~~~~~~~~~~~~~~



        The exact solution  (the required equation)  to the problem should be expressed in rational numbers.

        But @mananth in his post works with decimal numbers with two decimals after the decimal point.

        Therefore,  his equation  IS  NOT  EXACT.   Due to this reason,  his solution can not be accepted 

        as an ideal perfect solution to the problem.


        Below I develop such an ideal perfect  EXACT  equation.



<pre>
Calculate the slope  m = {{{((-2)-3)/((-5)-6)}}} = {{{(-5)/(-11)}}} = {{{5/11}}} = 0.454545...


So, an equation of the line in slope-intercept form is

    y = mx + b = {{{(5/11)x}}} + b.


We should determine the value of 'b' in this equation. 
For it, substitute coordinates of the either given point into the equation

    3 = {{{(5/11)*6}}} + b,

    b = 3 - {{{30/11}}} = {{{(33-30)/11}}} = {{{3/11}}}.


The exact equation is

    y = {{{(5/11)x + 3/11}}}.


At this point, the problem solved PRECISELY and CORRECTLY.
</pre>

Solved.


--------------------------


I know (I just deciphered it out for myself some time ago) that solutions by @matanth are produced by the computer code.


This mistake in the @manath solution (= in his code) should be fixed.