Respuesta :

The gradient of a line can be calculated using the formula

[tex]\displaystyle m = \frac{y_2 - y_1}{x_2 - x_1}[/tex]

where [tex](x_1,y_1)[/tex] and [tex](x_2, y_2)[/tex] are two points that the line passes through