Post Reply 
Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
09-15-2014, 11:22 PM (This post was last modified: 09-16-2014 01:34 AM by Jeff_Kearns.)
Post: #1
Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
The "Cadillac Quadratic Solver" by Palmer O. Hanson, Jr. for the HP-33s seems like a straight-forward port to the HP-32Sii. Simply replace as follows:

HP33S: B0015 SGN with HP-32Sii: B0015 x<0?; B0016 -1; and B0017 1.

The program works well on the 33S (haven't tried it on the 35S yet) but does not perform as well on the 32Sii when comparing the test case results with those posted at the bottom of the article. Of the eight test cases in the article, I get two incorrect results: test cases '1' and '6' only have one correct root, and there is a minor variation on test case '7'. I can't figure out the problem.

Isn't the replacement code for SGN above applicable? I have double-checked the code and that is the only difference between the 32Sii and 33S programs.

Thanks,

Jeff K
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Cadillac Quadratic Solver behaving like an Edsel - Problem solved!! - Jeff_Kearns - 09-15-2014 11:22 PM



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