Post Reply 
HP35S - Cubic (and incidentally quadratic) equations solver
05-13-2023, 06:00 PM (This post was last modified: 05-13-2023 06:06 PM by Gerson W. Barbosa.)
Post: #11
RE: HP35S - Cubic (and incidentally quadratic) equations solver
(04-10-2023 02:21 PM)Thomas Klemm Wrote:  Caveat

I was a bit sloppy with the termination criterion.
It may never be reached, but I've never experienced it.

I have, on Free42 with the first example I tried: 1 ENTER 2 ENTER 3 ENTER 4 XEQ “CBRT” (No problem on the real 42S, at least with this example).
The insertion of RND between steps 30 and 31 might be a workaround, but accuracy becomes limited to only twelve significant digits on Free42. Also, this will cause your example to run forever with FIX 1.

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


Messages In This Thread
RE: HP35S - Cubic (and incidentally quadratic) equations solver - Gerson W. Barbosa - 05-13-2023 06:00 PM



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