Timeline for answer to Distance between two points on the Moon by Giuseppe
Current License: CC BY-SA 3.0
Post Revisions
8 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 10, 2018 at 22:18 | comment | added | ceased to turn counterclockwis | Yes, or using a stable formula like, say, the haversine formula... | |
| Apr 10, 2018 at 22:17 | comment | added | Giuseppe | @ceasedtoturncounterclockwis I mostly included it for the sake of having it in base R. I suppose using an arbitrary precision floating point library would mitigate the effect. | |
| Apr 10, 2018 at 22:11 | comment | added | ceased to turn counterclockwis | Note that the spherical law of cosines is not numerically stable, in particular for small distances. That's probably ok in Mathematica, but in R and most other languages it's debatable whether the "any formula that gives the same result as the haversine formula" criterion is fulfilled. | |
| Apr 10, 2018 at 18:49 | history | edited | Giuseppe | CC BY-SA 3.0 |
added 48 characters in body
|
| Apr 10, 2018 at 18:46 | comment | added | Giuseppe | @JonathanAllan no they are not. That's pretty dumb of me, but the default argument for the radius is the earth's in meters so it was logical at the time, lol | |
| Apr 10, 2018 at 18:45 | comment | added | Jonathan Allan |
Are the e3 and /1000 really necessary?
|
|
| Apr 10, 2018 at 18:19 | history | edited | Giuseppe | CC BY-SA 3.0 |
added 115 characters in body
|
| Apr 10, 2018 at 18:07 | history | answered | Giuseppe | CC BY-SA 3.0 |