HP Forums

Full Version: HP67 Date of Easter
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi

Is anybody interested in a HP67 program calculating the date of Easter of (almost) every given year?

HP67Child
Hi,

For what it is worth, Hugh Kenner (PPC member #103) posted a 224-step HP67 Easter program in the PPC Journal in Volume 5 Number 4 Page 7 (May 1978).

Jake
Here it is. Let's compare the two. Always good to see how an approach to a problem can be different.

HP67Child... your program may do things better than this one. Let's see. :-)

Gene
Hi,

The algorithm origitates from http://www.assa.org.au/edm.html#Computer

I've slightly changed the code so that you can read it more easily. E.g. I used "ENTER", "/" and "x<->y".
It works in the following way:
Write a year as a 4-digit number. Press A. The result is in the form M.DD (Month.Day) which is the Easter Sunday of the year.
Exemples:
2021
A
4.04
1967
A
3.26
2000
A
4.23
The year must be between 1583 and 4099. Otherwise the program gives -1.

HP67Child
(05-06-2021 11:22 AM)HP67Child Wrote: [ -> ]It works in the following way: ...

Your 287-step program doesn't fit into my 224-step HP-67. Sad
(05-06-2021 11:03 PM)Joe Horn Wrote: [ -> ]
(05-06-2021 11:22 AM)HP67Child Wrote: [ -> ]It works in the following way: ...

Your 287-step program doesn't fit into my 224-step HP-67. Sad

It would appear the emulator the author used was not authentic in at least one way... Wink
I do apologize.
I don't have a real HP67 (I'd love to have one), but I instead use an Android emulation that appears not to have this size limit.
I promise to try to shrink the program (if I had eough time to do the task).

The format of the code in the attached file is appropriate for you?

Once more sorry
HP67Child
But please help me. What is the real size limit? My faint memory about a real HP67 is that the limit is 255. Am I wrong? Is the real limit 224?

Thank you
HP67Child
(05-07-2021 06:27 AM)HP67Child Wrote: [ -> ]But please help me. What is the real size limit? My faint memory about a real HP67 is that the limit is 255. Am I wrong? Is the real limit 224?

Yes, the physical HP-67 and HP-97 have a maximum of 224 program steps.
Thank you for your answer
Reference URL's