(12C) Full Moon
|
01-22-2018, 01:27 PM
(This post was last modified: 01-24-2018 08:16 AM by Dieter.)
Post: #3
|
|||
|
|||
RE: (12C) Full Moon
(01-22-2018 11:31 AM)PedroLeiva Wrote: Nice. How would the program be for the HP 35s calculator? The 35s does not have date functions (ΔDAYS, DATE+). So the major part of such a program would consist of two routines that convert a Gregorian date to a Julian day number and vice versa. I have posted such a program in the General Software Library. The rest can be directly translated from the 12C program. So enter the linked program and then add this routine: Code: M001 LBL M You may also try this version: Code: M001 LBL M These routines should do the same calculation as the 12C program, but please do your own tests. ;-) For the given example it should return this: Code: 22,012018 [XEQ] M [ENTER] Does this work? Edit: at least for UTC the dates may be one day early here and there. Run the program a second time with the calculated date. If the output is the same as the input the full moon seems to be on the next day. Try 1,012018 and get 1,012018 again. Actually the full moon was on 2,012018 (but less than an hour past midnight UTC). For local time on the North and South American continent the error seems to be more evenly distributed. For UTC maybe line M011 in the first program should better be 2415036 (and line M013 in the second version changed to 1, respectively). But I haven't made any extensive tests. Dieter |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(12C) Full Moon - Gamo - 01-22-2018, 06:30 AM
RE: (12C) Full Moon - PedroLeiva - 01-22-2018, 11:31 AM
RE: (12C) Full Moon - Dieter - 01-22-2018 01:27 PM
RE: (12C) Full Moon - PedroLeiva - 01-24-2018, 12:10 AM
RE: (12C) Full Moon - Dieter - 01-24-2018, 08:15 AM
RE: (12C) Full Moon - Dieter - 01-24-2018, 08:25 AM
RE: (12C) Full Moon - Gamo - 01-25-2018, 01:23 AM
|
User(s) browsing this thread: 1 Guest(s)