Using the distance formula to calculate the distances, we can conclude that, your apartment is closer to the school than that of your friend's.
How to Apply the Distance Formula?
The distance formula is given as: d = [tex]\sqrt{(x_2 - x_1)^2 + (y_2 - y_1)^2}[/tex]. You can use it to calculate the distance between two points, if given their coordinates.
Find the distance from your school (-5, 7) to your friend's apartment (2, -1) using the distance formula:
d = √[(2−(−5))² + (−1−7)²]
d = √[(7)² + (−8)²]
d = √(49 + 64)
d = √113
d ≈ 10.6 units
Find the distance from your school (-5, 7) to your apartment (2, 7) using the distance formula:
d = √[(2−(−5))² + (7−7)²]
d = √[(7)² + (0)²]
d = √(49 + 0)
d = √49
d = 7 units
Therefore, we can conclude that your apartment is closer to the school than that of your friend's.
Learn more about the distance formula on:
https://brainly.com/question/661229
#SPJ1