# Distance between (-5,13,4) and (2,-16,-2)?

Distance between (-5,13,4) and (2,-16,-2)?
You can still ask an expert for help

• Questions are typically answered in as fast as 30 minutes

Solve your problem for the price of one coffee

• Math expert for every subject
• Pay only if we can solve it

We know that the distance formula for cartesian coordinates is as follows:
$\sqrt{{\left({x}_{2}-{x}_{1}\right)}^{2}+{\left({y}_{2}-{y}_{1}\right)}^{2}}$
In the case where there are three dimensions $\left(x,y,z\right)$, you just need to add another term to account for the z-coordinates.
$\sqrt{{\left({x}_{2}-{x}_{1}\right)}^{2}+{\left({y}_{2}-{y}_{1}\right)}^{2}+{\left({z}_{2}-{z}_{1}\right)}^{2}}$
Plugging in the values from the given
[Solution]
$d=\sqrt{{7}^{2}+{\left(-29\right)}^{2}+{\left(-6\right)}^{2}}$
$d=\sqrt{49+841+36}$
$d\approx 30.4302$