Post Reply 
(11C) Quadratic Equation
08-11-2018, 04:39 PM (This post was last modified: 09-06-2018 11:49 AM by Albert Chan.)
Post: #4
RE: (11C) Quadratic Equation
(03-22-2018 10:18 AM)Dieter Wrote:  One of my first books on RPN and HP calculators also had a program for quadratic equations.
To distinguish real and complex solutions it displayed "1111111111" for the latter case.
In the calculator display this looks like a line of "i"s that indicate a solution with an imaginary part. ;-)

I did a Quadratic Solver for Casio FX-3650P:

Instead of using a special number for signaling complex roots.
I CRASH the program, on purpose, by taking square root of negative discriminant.
(complex roots = X +/- Y * I, stored in memory X, Y)

If user is still not warned about roots being complex, I don't know what will :-)

Edit:
I had revised the solver, allowed for adjustable discriminant (if more precise available).
Since discriminant is shown, it's sign signaled real or complex roots.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(11C) Quadratic Equation - Gamo - 03-21-2018, 06:50 AM
RE: (11C) Quadratic Equation - Dieter - 03-22-2018, 10:18 AM
RE: (11C) Quadratic Equation - Albert Chan - 08-11-2018 04:39 PM



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