Answer:
The slope is m=2
Step-by-step explanation:
we have
[tex]y=2x-5[/tex]
This is the equation of a line in slope intercept form
[tex]y=mx+b[/tex]
where
m is the slope
b is the y-coordinate of the y-intercept
therefore
The slope m is equal to
[tex]m=2[/tex]
Alternative Method
we know that
The formula to calculate the slope between two points is equal to
[tex]m=\frac{y2-y1}{x2-x1}[/tex]
we have
[tex]y=2x-5[/tex] and the domain {-1, 4}
For x=-1
[tex]y=2(-1)-5=-7[/tex]
point (-1,-7)
For x=4
[tex]y=2(4)-5=3[/tex]
point (4,3)
substitute the values in the formula of the slope
[tex]m=\frac{3+7}{4+1}[/tex]
[tex]m=\frac{10}{5}[/tex]
[tex]m=2[/tex]