Template:Great circle distance/er
Jump to navigation
Jump to search
6371.0008824956
Usage
{{Great circle distance/er|latitude}}
Calculates the Earth's radius, in kilometers, at a given latitude. Uses the following formula:
<math>R=\sqrt{[(r_1^2*\cos{B})^2+(r_2^2*\sin{B})^2]/[(r_1*\cos{B})^2+(r_2*sin{B})^2]}</math>
with latitude <math>B</math>, radius <math>R</math>, radius at equator <math>r_1=6378.137</math>, and radius at pole <math>r_2=6356.752</math>
With no latitude input, it defaults to the mean Earth radius.
The above documentation is transcluded from Template:Great circle distance/er/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |