408,282 views
9 votes
9 votes
Write a function for the line with a slope of 5 that passes through the point (2, 1).

HINT:Substitute the coordinates of the given point and the slope into y=mx+b to find the y-intercept.
HINT:The slope is m in the equation y=mx+b.

Write a function for the line with a slope of 5 that passes through the point (2, 1). HINT-example-1
User Yordan Pavlov
by
2.7k points

1 Answer

18 votes
18 votes

Explanation:

y = mx+ b

m is the slope = 5

you can get x,y from point (x,y); x=2, y=1

substitute all information we have to find b

1 = 5(2) + b

1 = 10 + b

1 - 10 = b

-9 = b

the function for line:

y = 5x - 9

User Maarti
by
3.2k points