Cadillac Quadratic Solver behaving like an Edsel - Problem solved!! - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html) +--- Forum: General Forum (/forum-4.html) +--- Thread: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!! (/thread-2144.html) Pages: 1 2 |
RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!! - Gerson W. Barbosa - 09-16-2014 03:14 PM (09-16-2014 12:33 PM)Dieter Wrote:(09-16-2014 01:20 AM)Gerson W. Barbosa Wrote: You can try In order to address the case F=0, which seems to be a consequence of B=0, I had suggested later in the thread the insertion of x=0? x! between ABS and /. Your suggestion is one step shorter and more efficient, so I would go for it. That's what I was able to come up with while watching an interview on TV. When memory is not an issue (sometimes it is on the 32S-II), I'll definitely use the SGN subroutine replacement, since no stack analysis is necessary. Regards, Gerson. RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!! - Thomas Klemm - 09-17-2014 01:23 AM You don't really need the SIGN function. You can exchange the SQRT with register F and use register arithmetic (lines B12 - B17). But then you don't push F onto the stack. That's why we need to recall F later in line E07. Code: B01 LBL B Currently I have troubles with my HP-32II and therefore can't test these changes. But as an inspiration you can have a look at the original code for the HP-15C (lines 057-061 of program B). HTH Thomas PS: Sorry for being late to the party. RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!! - Thomas Klemm - 09-23-2014 12:15 AM The suggestions in my previous post are flawed. Meanwhile I could fix it. This program works fine with my HP-32SII: Code: H01 LBL H This post made me try to understand the algorithm that is used. I posted my findings in an article. Cheers Thomas Cadillac Quadratic Solver for HP 35s - PedroLeiva - 02-17-2015 07:36 PM Dear Members, I have a question about Palmer Hanson program for Hp 35s. I don´t know how to insert steps Q038, 040 and 065= SUM - , from the program listing of Cadillac Quadratic Solver. Can you please assit me about the order of the keys for that instruction Thank you in advance, Pedro RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!! - Dieter - 02-17-2015 08:26 PM (02-17-2015 07:36 PM)PedroLeiva Wrote: Can you please assit me about the order of the keys for that instruction I see this is your first post here, so welcome to the forum. ;-) In the listing, "Sum" refers to the greek Sigma, so "Sum–" means Σ– (yellow-shifted function of the Σ+ key in the bottom key row). Equally, "Sum xy" means Σxy which is accessed via the SUMS menu (blue-shifted Minus-key). Dieter RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!! - PedroLeiva - 02-17-2015 08:34 PM (02-17-2015 08:26 PM)Dieter Wrote:(02-17-2015 07:36 PM)PedroLeiva Wrote: Can you please assit me about the order of the keys for that instruction How I did not realize it! Thank you very much for your assistance. Pedro |