Difference between revisions of "Template:Circle of latitude"
Jump to navigation
Jump to search
imported>DePiep |
imported>Lasunncty (use continuously updating formula) |
||
Line 1: | Line 1: | ||
{{#switch: {{lc:{{{1}}}}} | {{#switch: {{lc:{{{1}}}}} | ||
− | |tropical= | + | |tropical={{coord/dec2dms/dms1|{{#expr:(84381.448 |
− | |polar= | + | -4680.93*(({{JD}}-2451545)/3652500) |
+ | -1.55*(({{JD}}-2451545)/3652500)^2 | ||
+ | +1999.25*(({{JD}}-2451545)/3652500)^3 | ||
+ | -51.38*(({{JD}}-2451545)/3652500)^4 | ||
+ | -249.67*(({{JD}}-2451545)/3652500)^5 | ||
+ | -39.05*(({{JD}}-2451545)/3652500)^6 | ||
+ | +7.12*(({{JD}}-2451545)/3652500)^7 | ||
+ | +27.87*(({{JD}}-2451545)/3652500)^8 | ||
+ | +5.79*(({{JD}}-2451545)/3652500)^9 | ||
+ | +2.45*(({{JD}}-2451545)/3652500)^10)/3600}}}}{{#ifeq:{{lc:{{{2}}}}}|convert| (or {{#expr:(84381.448 | ||
+ | -4680.93*(({{JD}}-2451545)/3652500) | ||
+ | -1.55*(({{JD}}-2451545)/3652500)^2 | ||
+ | +1999.25*(({{JD}}-2451545)/3652500)^3 | ||
+ | -51.38*(({{JD}}-2451545)/3652500)^4 | ||
+ | -249.67*(({{JD}}-2451545)/3652500)^5 | ||
+ | -39.05*(({{JD}}-2451545)/3652500)^6 | ||
+ | +7.12*(({{JD}}-2451545)/3652500)^7 | ||
+ | +27.87*(({{JD}}-2451545)/3652500)^8 | ||
+ | +5.79*(({{JD}}-2451545)/3652500)^9 | ||
+ | +2.45*(({{JD}}-2451545)/3652500)^10)/3600 round 5}}°)}} | ||
+ | |polar={{coord/dec2dms/dms1|{{#expr:90-(84381.448 | ||
+ | -4680.93*(({{JD}}-2451545)/3652500) | ||
+ | -1.55*(({{JD}}-2451545)/3652500)^2 | ||
+ | +1999.25*(({{JD}}-2451545)/3652500)^3 | ||
+ | -51.38*(({{JD}}-2451545)/3652500)^4 | ||
+ | -249.67*(({{JD}}-2451545)/3652500)^5 | ||
+ | -39.05*(({{JD}}-2451545)/3652500)^6 | ||
+ | +7.12*(({{JD}}-2451545)/3652500)^7 | ||
+ | +27.87*(({{JD}}-2451545)/3652500)^8 | ||
+ | +5.79*(({{JD}}-2451545)/3652500)^9 | ||
+ | +2.45*(({{JD}}-2451545)/3652500)^10)/3600}}}}{{#ifeq:{{lc:{{{2}}}}}|convert| (or {{#expr:90-(84381.448 | ||
+ | -4680.93*(({{JD}}-2451545)/3652500) | ||
+ | -1.55*(({{JD}}-2451545)/3652500)^2 | ||
+ | +1999.25*(({{JD}}-2451545)/3652500)^3 | ||
+ | -51.38*(({{JD}}-2451545)/3652500)^4 | ||
+ | -249.67*(({{JD}}-2451545)/3652500)^5 | ||
+ | -39.05*(({{JD}}-2451545)/3652500)^6 | ||
+ | +7.12*(({{JD}}-2451545)/3652500)^7 | ||
+ | +27.87*(({{JD}}-2451545)/3652500)^8 | ||
+ | +5.79*(({{JD}}-2451545)/3652500)^9 | ||
+ | +2.45*(({{JD}}-2451545)/3652500)^10)/3600 round 5}}°)}} | ||
}}<noinclude> | }}<noinclude> | ||
{{documentation}} | {{documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 09:18, 22 January 2015
Usage
|tropical
or|polar
|convert
is optional.
- {{Circle of latitude|Tropical|convert}} → 23°26′09.5″ (or 23.43598°)
- {{Circle of latitude|polar}} → 66°33′50.5″
This template uses a continuously updating formula found at http://www.neoprogrammics.com/obliquity_of_the_ecliptic. Note that this formula calculates the Mean Ecliptic, not the True Ecliptic, because it doesn't correct for Nutation.
The above documentation is transcluded from Template:Circle of latitude/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. |