roots of polynomial

Econometrics questions and discussions
ivory4
Posts: 144
Joined: Mon Aug 24, 2009 12:16 pm

roots of polynomial

Unread post 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
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

Re: roots of polynomial

Unread post 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)
Post Reply