# Gradient of a Straight Line

If the points $A\left({x}_{1},{y}_{1}\right)$  and $B\left({x}_{2},{y}_{2}\right)$   lie on the straight line $y=mx+c$   , then gradient of ,the straight line
$m= y 2 − y 1 x 2 − x 1 or y 1 − y 2 x 1 − x 2$