# On a map of Amanda's city, the marina is at (2, 9) and the restaurant is at (2, 8). What is the vertical distance between the marina and the restaurant?

Apr 29, 2018

The distance between the marina and the restaurant is $1$ unit.

#### Explanation:

The distance between two points is shown by the formula:
$d = \sqrt{{\left({x}_{2} - {x}_{1}\right)}^{2} + {\left({y}_{2} - {y}_{1}\right)}^{2}}$

We have the values for the two coordinates, so we can substitute them into the distance formula:
$d = \sqrt{{\left(8 - 9\right)}^{2} + {\left(2 - 2\right)}^{2}}$

And now we simplify:
$d = \sqrt{{\left(- 1\right)}^{2} + {\left(0\right)}^{2}}$

$d = \sqrt{1}$

$d = 1$

The distance between the marina and the restaurant is $1$ unit.

Hope this helps!