Question 142412
First we find the slope:
slope(m)=(y2-y1)/(x2-x1)
slope(m)=(0-5)/(4-0)
slope(m)=-5/4
now replace the x & y terms with one set of points & solve for the y intercept(b) in the line equation [Y+mX+b]
5=0*-5/4+b
5=b the y intercept.
Thus the line equation is:
y=-5x/4+5
{{{ graph( 300, 200, -6, 5, -10, 10, -5x/4 +5) }}} (graph 300x200 pixels, x from -6 to 5, y from -10 to 10, -5x/4 +5).