Post Reply 
Time of the seasons
09-22-2022, 06:25 PM
Post: #1
Time of the seasons
This HP Prime program can be used to determine the UTC calendar date and time of the equinoxes and solstices of the Earth. These events are the times when the apparent geocentric longitude of the Sun is an exact multiple of 90 degrees. This script uses Brent’s root-finder and a precision solar ephemeris to calculate these events.

Brent’s method requires an objective function that defines the nonlinear equation to be solved. The objective function for the spring and fall equinoxes is the geocentric declination of the Sun. The spring and fall equinoxes occur whenever the geocentric declination of the Sun is less than or equal to a user-defined convergence criterion.

For the summer and winter solstices, the objective function is theta - lambda, where theta = 90 degrees for the summer solstice, theta = 270 degrees for the winter solstice, and lambda is the geocentric longitude of the Sun. The summer and winter solstices occur whenever the difference delta = theta - lambda is less than or equal to a user-defined convergence criterion.

Brent’s method also requires an initial and final time which bounds the root of the objective function. The initial time for the spring equinox is March 15, for the summer solstice June 15, for the fall equinox September 15 and for the winter solstice December 15. For each event, the final time is equal to these initial dates plus 10 days.


Attached File(s)
.zip  equsol.zip (Size: 173.55 KB / Downloads: 19)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Time of the seasons - cdeaglejr - 09-22-2022 06:25 PM
RE: Time of the seasons - Gil - 02-19-2023, 12:43 AM
RE: Time of the seasons - cdeaglejr - 02-24-2023, 10:36 AM
RE: Time of the seasons - Gil - 02-24-2023, 12:02 PM
RE: Time of the seasons - Gil - 02-24-2023, 12:13 PM
RE: Time of the seasons - Giuseppe Donnini - 02-24-2023, 06:43 PM
RE: Time of the seasons - Gil - 02-24-2023, 09:57 PM



User(s) browsing this thread: 1 Guest(s)