EDIT: you're right; I forgot it was checking for imaginary roots.

]]>Many SE calculators come with a pre-loaded Polynomial solver App that can do root estimation for powers up to 10,

so a program for that isn't really necessary.

Would it be easier to determine the power of the function and then determine all real roots, rather than just make it for quadratic?

Obviously it would be more difficult to write, and would take a little bit more space. But wouldn't it be more user friendly oversll?

]]>Also, it looks nicer if you surround your code in [[ code ]] at the beginning and [[ /code ]] at the end (without the spaces).

]]>:Y1(0)storeC

:((Y1(1)-Y1(-1))/2)storeB

:((Y1(1)+Y1(-1)-2C)/2)storeA

:If B^2-4AC<0

:Then

:Disp "NO REAL NUMBER" or whatever you would like to let you know it is an imaginary number(I also have code to give the imaginary number)

:Else

:(-B+sqrt(B^2-4AC))/(2A)storeX

:(-B-sqrt(B^2-4AC))/(2A)storeY

:Disp "X= ",X,Y

this works you just have to remember to place your function in the Y= menu

]]>through string manipulation, you can easily obtain A B C. ]]>