Post Reply 
[VA] SRC #012c - Then and Now: Sum
11-29-2022, 12:00 AM
Post: #3
RE: [VA] SRC #012c - Then and Now: Sum
.
Hi, FLISZT,

(11-28-2022 06:19 PM)FLISZT Wrote:  This is my very first post on this forum.
I've been lurking around for years, at least 12 if I take into account the old forum.

Welcome to the forum and congratulations for stopping being a lurker, hope you'll enjoy the place, very nice & knowledgeable people here (mostly).

Quote:This "Sum" problem has seemed not too mathematical to me. It inspired me and finally decided me to register.

Well, thanks for your interest in this thread I recently created and I'm very glad it inspired you to join us, the more we are the merrier. If you like challenges, you might want to have a look at the Challenges section of my HP calcs site (it also features SHARP Pocket Computers).

Quote:So, last night I wrote an RPL program on one of my two hp-50g. Then I checked to see if it worked on my trusty hp-28s [...] To my surprise, the program did not work [...] During the day, while rethinking my program, I realized that some instructions were unnecessary and the final size of the program is therefore reduced to 148.5 bytes.

Good. Please post the code when you feel you're ready to share it with us all.

Quote:Here are some results to check if my program is OK (?):
    f(0) = 0, f(1) = 1, f(2) = 2, f(3) = 6 … which seem obvious at this point!

    f(11) = 264, f(12) = 288, f(100 = 4200 … and f(10) = 240, of course!

Of course. All of them are correct. Smile

Best regards.
V.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [VA] SRC #012c - Then and Now: Sum - Valentin Albillo - 11-29-2022 12:00 AM



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