Quadratic Solver for Casio FX-3650P
|
07-17-2018, 10:52 PM
(This post was last modified: 11-21-2018 04:43 PM by Albert Chan.)
Post: #2
|
|||
|
|||
RE: Quadratic Solver for Casio FX-3650P
Looks like solving quadratic equation accurately is harder than it look ...
Thomas Klemm article about solving quadratic equation is educational http://www.hpmuseum.org/forum/thread-2181.html Because FX-3650P does not have a ABS function, I had rearranged equation to produce the "bigger" root. (-B +/- SQRT(B^2 - 4AC)) / (2A) = -B/(2A) * (1 +/- SQRT(1 - 4AC/B^2)) Bigger root (ignore sign) = -B/(2A) (1 + SQRT(1 - 4AC/B^2)) = X(1 + SQRT Y) The problem with above is it may have worse precision for the "discriminant" Y This is my second attempt (86 keys) Code: ? -> A : ? -> B : ? -> C : B^2 - 4AC -> D : |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Quadratic Solver for Casio FX-3650P - Albert Chan - 07-17-2018, 04:29 PM
RE: Quadratic Solver for Casio FX-3650P - Albert Chan - 07-17-2018 10:52 PM
RE: Quadratic Solver for Casio FX-3650P - Albert Chan - 07-18-2018, 04:35 PM
RE: Quadratic Solver for Casio FX-3650P - Albert Chan - 08-10-2018, 04:28 PM
RE: Quadratic Solver for Casio FX-3650P - Albert Chan - 08-11-2018, 02:29 PM
RE: Quadratic Solver for Casio FX-3650P - Albert Chan - 08-11-2018, 10:13 PM
RE: Quadratic Solver for Casio FX-3650P - Albert Chan - 11-09-2018, 06:43 PM
RE: Quadratic Solver for Casio FX-3650P - Albert Chan - 11-10-2018, 08:14 PM
RE: Quadratic Solver for Casio FX-3650P - Albert Chan - 11-11-2018, 05:44 PM
RE: Quadratic Solver for Casio FX-3650P - Albert Chan - 12-03-2018, 12:08 PM
|
User(s) browsing this thread: 1 Guest(s)