Sam's house is at a distance of approximately 8.062 meters far from the gas station.
Nota - The statement is incomplete. Complete form is described below:
The location of Sam's house, the library, and the gas station is shown on the map below. What is the distance from Sam's house to gas station? The coordinate of each location are presented below: (Distances are given in miles)
Sam's house
[tex]S(x,y) = (2, -4)[/tex]
Library
[tex]L(x,y) = (-5, 2)[/tex]
Gas station
[tex]G(x,y) = (3,4)[/tex]
The distance ([tex]d[/tex]), in miles, is determined by the line segment distance formula, whose vectorial form is presented:
[tex]d = \sqrt{[S(x,y)-G(x,y)]\,\bullet \,[S(x,y)-G(x,y)]}[/tex] (1)
Where [tex]\bullet[/tex] is used in an operation known as dot product.
If we know that [tex]S(x,y) = (2, -4)[/tex] and [tex]G(x,y) = (3,4)[/tex], then the distance between Sam's house and the Gas station is:
[tex]d = \sqrt{(2 - 3)^{2}+[(-4)-4]^{2}}[/tex]
[tex]d \approx 8.062\,mi[/tex]
Sam's house is at a distance of approximately 8.062 meters far from the gas station.