Post Reply 
Even faster quadratic formula for the HP-41C
06-04-2014, 07:11 AM (This post was last modified: 06-04-2014 07:12 AM by Thomas Klemm.)
Post: #4
RE: Even faster quadratic formula program for the HP-41C
(06-04-2014 05:59 AM)Gerson W. Barbosa Wrote:  I fear there might be trouble with c = 0.
I know. But then who is going to use this program to solve \(ax^2+bx=0\)?

Quote:Also, the HP-41 lacks recall arithmetic.
I tend to forget this.

Quote:P.S.: On the HP-42S, replace line 10 with
10 +
This won't solve the case when both b and c are zero, however.
Should this solve the problem with the division by zero?
In case of \(c=0\) this depends on the sign of \(b\).
So it doesn't really matter whether we use + or -.
I prefer to have \(x_1\) in register X.

Cheers
Thomas
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Even faster quadratic formula program for the HP-41C - Thomas Klemm - 06-04-2014 07:11 AM



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