# How do you find the slope of a line that passes through the points y-intercept (0,8) and the x intercept (-2,0)?

Apr 17, 2018

The slope is $m = 4$

#### Explanation:

The equation for the slope based upon two points is
$m = \frac{{y}_{2} - {y}_{1}}{{x}_{2} - {x}_{1}}$

For the points (0,8) & (-2,0)

${x}_{1} = 0$
${y}_{1} = 8$
${x}_{2} = - 2$
${y}_{2} = 0$

$m = \frac{0 - 8}{- 2 - 0}$

$m = - \frac{8}{-} 2$

$m = 4$