The graph of a function is a straight line with a slope of 2 and a y-intercept of 7. What is the equation of the function?

Write your answer in y = mx + b form.

1 answer

The equation of a straight line in slope-intercept form is given by \( y = mx + b \), where \( m \) is the slope and \( b \) is the y-intercept.

Given that the slope \( m \) is 2 and the y-intercept \( b \) is 7, we can substitute these values into the equation:

\[ y = 2x + 7 \]

Thus, the equation of the function is:

\[ y = 2x + 7 \]