5 ms·
Can you tell us what the both line solutions measure to using the first approach and the second approach? I'm curious about the effect of the curvature on the c
by bunabhucan 4y ago
Can you tell us what the both line solutions measure to using the first approach and the second approach? I'm curious about the effect of the curvature on the calculation. Thanks!
- piotrjaw 4y agoSure! It's pretty straightforward actually. The first approach (which is a simplification) uses the usual way to calculate a distance between two points on a FLAT plane, which using is the Pythagorean Theorem. So d = √((y1 - y2)^2 + (x1 - x2)^2). The second approach uses the haversine formula: https://en.wikipedia.org/wiki/Haversine_formula https://en.wikipedia.org/wiki/Haversine_formula which takes the curvature of the Earth into account, and also the fact that one degree in longitude is a different distance depending on the latitude.
- bunabhucan 4y agoSorry, I was asking for the numeric answers, I'm genuinely curious about the distance values of the two pairs of numbers using the two formula.