Answer:
Part 1) [tex]m=0[/tex]
Part 2) The slope is undefined
Step-by-step explanation:
we know that
The formula to calculate the slope between two points is equal to
[tex]m=\frac{y2-y1}{x2-x1}[/tex]
Part 1
we have
[tex]A(-2,-5)\ B(8,-5)[/tex]
Substitute the values
[tex]m=\frac{-5+5}{8+2}[/tex]
[tex]m=\frac{0}{10}[/tex]
[tex]m=0[/tex] ----> is a horizontal line (parallel to x-axis)
Part 2
we have
[tex]A(4,9)\ B(4,-7)[/tex]
Substitute the values
[tex]m=\frac{-7-9}{4-4}[/tex]
[tex]m=\frac{-16}{0}[/tex] ----> is a vertical line (parallel to y-axis)
The slope is undefined