Distance x 2 x 1 2 y 2 y 1 2. D x 2 x 1 2 y 2 y 1 2. In a 3 dimensional plane the distance between points X 1 Y 1 Z 1 and X 2 Y 2 Z 2 is given by.
Given the two points x1 y1 and x2 y2 the distance d between these points is given by the formula.
We can either convert the polar points to rectangular points then use a simpler distance formula or we can skip the conversion to rectangular coordinates but use a more complicated distance formula. Using distance formula is much easier than the Pythagorean theorem. P1 -3 4 sinSigma 2 _ -3 4 cos2SigmaM 2 P2 upper_B sinSigma P3 cos2SigmaM upper_B 4 _ cosSigma -1 2 _ cos2SigmaM 2 - _ upper_B 6 cos2SigmaM P1 complete deltaSigma calculation deltaSigma P2 P3 calculate the distance s low_b upper_A _ sigma - deltaSigma round distance to millimeters distVincenty Rounds 3 End Function Function SignItDegree_Dec As String _ As Double Input. Since this format always works it can be turned into a formula.