121k views
5 votes
On a grid, a middle school is located at (-5, 3), and a library is located at (2, 3). If 1 unit represents 1 mile on the grid, how far is the library from the middle school, in miles?

1 Answer

3 votes

Answer: To find the distance between two points on a grid, we can use the distance formula:

distance = sqrt((x2 - x1)^2 + (y2 - y1)^2)

where (x1, y1) and (x2, y2) are the coordinates of the two points.

In this case, the coordinates of the middle school are (-5, 3), and the coordinates of the library are (2, 3). So we have:

distance = sqrt((2 - (-5))^2 + (3 - 3)^2)

distance = sqrt((2 + 5)^2 + 0^2)

distance = sqrt(7^2)

distance = 7

Therefore, the library is 7 miles away from the middle school.

Explanation:

User Pavel Vasilev
by
6.8k points