Page 1 of 1

roots of polynomial

Posted: Sat Jan 21, 2012 8:43 am
by ivory4
How to calculate the roots of a specific polynomial?
I mean this poly is not from a regression but I need to input the coefficients manually.

Thanks

Re: roots of polynomial

Posted: Sun Jan 22, 2012 4:19 pm
by TomDoan

Code: Select all

*
* This computes and displays the roots for the polynomial 1+3x+5x^2
*
disp %polycxroots(||1.0,3.0,5.0||)
(   -0.30000,   -0.33166) (   -0.30000,    0.33166)