Post Reply 
Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
09-16-2014, 02:24 AM
Post: #14
RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!!
(09-16-2014 01:33 AM)Jeff_Kearns Wrote:  
(09-16-2014 01:20 AM)Gerson W. Barbosa Wrote:  You can try
RCLx F
RCL F
ABS
/

Instead of

RCLF
SGN
x

starting at step B0014, assuming F is never zero.

WOW Thanks Gerson! I can't say I readily follow the logic (will have to think about it...) and I end up with two consecutive /'s but it works like a charm now. What, therefore, is the 'general' substitute for SGN on a 32sii? Might make for a separate thread/article.

Jeff K

Although it works for all test cases, I fear it won't work when B is zero. In this case the following might be a fix:

RCL*F
RCL F
ABS
x=0?
x!
/

Notice this is not the replacement for SGN, rather for RCL F SGN x.

Gerson.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Cadillac Quadratic Solver behaving like an Edsel - Problem solved!! - Gerson W. Barbosa - 09-16-2014 02:24 AM



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