Post Reply 
Polynomial Wizard
04-28-2021, 08:25 PM
Post: #1
Polynomial Wizard
(04-26-2021 03:21 PM)cyrille de brébisson Wrote:  Here is the change log.
Code:
polynomial wizard improvements

Say, that's much better. It's simple, clean, and efficient. The automatic solving in either direction is perfect. The graph visual is a nice touch.

There are a few easily fixed tweaks to look at, one mathematical and the rest are aesthetic.

   

For the displayed equation, any complex coefficients need to be surrounded by parentheses or else you get incorrect order of operations. For instance,
coefficients [2+3*i,4,5,6,0] displays:
2+3*i*X^4+...
but it needs to be
(2+3*i)*X^4+...

Also for polynomials with complex coefficients, the graph should probably just be left blank rather than trying to draw the axes without a graph to go with it.

When displaying the equation, using lower-case, superscripts, implied multiplication, and subtraction would make it much easier to read.
x⁶-2x⁵+3x⁴-4x³+5x²-6x+7
vs
X^6+-2*X^5+3*X^4+-4*X^3+5*X^2+-6*X+7

Finally, I don't know if it is possible, but is there a way that the 2d matrix editor could be limited to a single line? I can just picture a student expanding the entry into a matrix. When you do this and enter values, the Poly field produces an appropriate error message, but entering a matrix in the Roots field produces a meaningless polynomial.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Polynomial Wizard - Wes Loewer - 04-28-2021 08:25 PM
RE: Polynomial Wizard - jonmoore - 04-29-2021, 10:56 AM
RE: Polynomial Wizard - Wes Loewer - 04-29-2021, 04:22 PM



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