Distance Formula added (#21067)

Added the actual formula and a brief explanation on how to use it.
This commit is contained in:
absentMindedDeveloper
2018-11-04 19:59:06 -08:00
committed by Tom
parent 3fa9a5bc1b
commit c136cb9606

View File

@ -2,14 +2,7 @@
title: The Distance Formula title: The Distance Formula
--- ---
## The Distance Formula ## The Distance Formula
<a href="https://www.codecogs.com/eqnedit.php?latex=\mathrm{Distance}=\sqrt{(x_{2}&plus;x_{1})^2&space;&plus;&space;(y_{2}&space;&plus;&space;y_{1})^2}" target="_blank"><img src="https://latex.codecogs.com/gif.latex?\mathrm{Distance}=\sqrt{(x_{2}&plus;x_{1})^2&space;&plus;&space;(y_{2}&space;&plus;&space;y_{1})^2}" title="\mathrm{Distance}=\sqrt{(x_{2}+x_{1})^2 + (y_{2} + y_{1})^2}" /></a>
This is a stub. <a href='https://github.com/freecodecamp/guides/tree/master/src/pages/mathematics/the-distance-formula/index.md' target='_blank' rel='nofollow'>Help our community expand it</a>. This formula can be used to calculate the distance between two points in a coordinate system, with (x<sub>1</sub>, y<sub>1</sub>) being the coordinates of one point and (x<sub>2</sub>, y<sub>2</sub>) being the coordinates of the other.
<a href='https://github.com/freecodecamp/guides/blob/master/README.md' target='_blank' rel='nofollow'>This quick style guide will help ensure your pull request gets accepted</a>.
<!-- The article goes here, in GitHub-flavored Markdown. Feel free to add YouTube videos, images, and CodePen/JSBin embeds -->
#### More Information:
<!-- Please add any articles you think might be helpful to read before writing the article -->