roots of polynomial

Econometrics questions and discussions

roots of polynomial

Postby ivory4 » Sat Jan 21, 2012 9:43 am

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
ivory4
 
Posts: 149
Joined: Mon Aug 24, 2009 12:16 pm

Re: roots of polynomial

Postby TomDoan » Sun Jan 22, 2012 5:19 pm

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)
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm


Return to General Econometrics

Who is online

Users browsing this forum: No registered users and 2 guests

cron