Step 1: The slope of a line passing through two points \( (x_1, y_1) \) and \( (x_2, y_2) \) is given by:
\[
m = \frac{y_2 - y_1}{x_2 - x_1}.
\]
Step 2: Substituting \( (x_1, y_1) = (2, 3) \) and \( (x_2, y_2) = (4, 7) \):
\[
m = \frac{7 - 3}{4 - 2} = \frac{4}{2} = 2.
\]