1- it can expand equation with or without complex number
2- coefficients can be complex or not
3- it support unsorted polynomial
4- it support repeated terms
my algorithm based on the newton polynomial
this idea come into my mind at sleep
my dreams come true now
Example :
"(X-i)(X+i)-(12-i)X^2+(X+i)^3+(X+1)^2+2X-2X+i" => Str 1
then List 1 = [1 -10+4i -1 2] that represent X^3+(-10+4i)X^2-X+2
i now work on the variable identifying
![Posted Image](http://www.casiocalc.org/style_emoticons/default/hammer.gif)
![:greengrin:](/dot/public/style_emoticons/default/greengrin.gif)
Edited by amin_heidari, 03 February 2012 - 11:33 PM.