Hi

How do I get the line equation from two points ?

The equation is $\displaystyle y = mx + c$

the two points are (1,2) and (5,5).

I know how to calculate m:

$\displaystyle

m = (y2 - y1)/(x2 - x1) = 3/4

$

but not y, x and c ....

so this is what I'v got

$\displaystyle y = (3/4)x + c$

Thanks