The distance between them will appear just above the map in both miles and kilometers. This tutorial shows how the distance formula is used to find the distance between two points in a x y coordinate systemLearn Math Tutorials Bookstore http. Try distance mathsqrt a 0 - b 0 2 a 1 - b 1 2.
Since this format always works it can be turned into a formula.
Distance distance y2 - y1 y2 - y1 x2 - x1 x2 - x1 Finally from the above equation we can calculate the distance between the points. Distance x 2 x 1 2 y 2 y 1 2. You should calculate the difference between coordinates. Call one point Point 1 x1y1 and make the.