Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
|
09-16-2014, 03:14 PM
Post: #21
|
|||
|
|||
RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
(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. |
|||
09-17-2014, 01:23 AM
Post: #22
|
|||
|
|||
RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
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. |
|||
09-23-2014, 12:15 AM
(This post was last modified: 02-17-2015 08:28 PM by Thomas Klemm.)
Post: #23
|
|||
|
|||
RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
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 |
|||
02-17-2015, 07:36 PM
Post: #24
|
|||
|
|||
Cadillac Quadratic Solver for HP 35s
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 |
|||
02-17-2015, 08:26 PM
(This post was last modified: 02-17-2015 08:30 PM by Dieter.)
Post: #25
|
|||
|
|||
RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
(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 |
|||
02-17-2015, 08:34 PM
Post: #26
|
|||
|
|||
RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
(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 |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)