Final answer:
To find the equation of a straight line passing through two points, use the formula y - y1 = m(x - x1), where (x1, y1) and (x2, y2) are the coordinates of the given points, and m is the slope of the line. The slope can be calculated using m = (y2 - y1) / (x2 - x1). Using the points (2,7) and (4,10), the slope is 1.5 and the equation of the line is y = 1.5x + 4.
Step-by-step explanation:
To find the equation of a straight line passing through two points, we can use the formula:
y - y1 = m(x - x1)
where (x1, y1) and (x2, y2) are the coordinates of the given points, and m is the slope of the line.
Using the points (2,7) and (4,10), we can calculate the slope:
m = (y2 - y1) / (x2 - x1)
m = (10 - 7) / (4 - 2)
m = 3 / 2
m = 1.5
Substituting the slope and one of the points into the formula, we get:
y - 7 = 1.5(x - 2)
Simplifying the equation, we get:
y = 1.5x + 4
So, the equation of the line is y = 1.5x + 4.