Using the slope​ formula, find the slope of the line through the given points.

left parenthesis 5 comma 1 right parenthesis and left parenthesis 8 comma 4 right parenthesis
Question content area bottom
Part 1
What is the slope of the​ line? Select the correct choice below​ and, if​ necessary, fill in the answer box to complete your choice.
A.
The slope of the line is
  
enter your response here. ​(Type an integer or a simplified​ fraction.)
B.
The slope of the line is undefined.

To find the slope of a line passing through two points, we can use the formula:

m = (y2 - y1) / (x2 - x1)

Using the points (5, 1) and (8, 4), we can plug in the coordinates:

m = (4 - 1) / (8 - 5)
m = 3 / 3
m = 1

Therefore, the slope of the line passing through the points (5, 1) and (8, 4) is 1. So, the correct choice is:

A. The slope of the line is 1.