An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120418/9fc19412/attachment.pl>
Is there a way to find all roots of a polynomial equation in R?
6 messages · Duncan Murdoch, Rolf Turner, JesperHybel +2 more
On 12-04-18 4:14 PM, Michael wrote:
Is there a way to find all roots of a polynomial equation? Lets say x^5+a*x^4+b*x^3+c*x^2+d*x+e=0 how to find its all roots?
polyroot() should be able to do it, assuming that a,b,c,d and e are numeric or complex values, not just symbols. Duncan Murdoch
On 19/04/12 08:14, Michael wrote:
Is there a way to find all roots of a polynomial equation? Lets say x^5+a*x^4+b*x^3+c*x^2+d*x+e=0 how to find its all roots?
I believe that Galois (or maybe it was Abel) proved that this
is *NOT* possible, a couple of centuries ago.
However if you are thinking of *numerical* methods (i.e. supplying
numerical values for a, b, ..., e before you start) then polyroot()
will do it for you. As
RSiteSearch("zeroes of polynomial")
would have told you. (Seventh hit.)
cheers,
Rolf Turner
Is there a way to find all roots of a polynomial equation? Lets say x^5+a*x^4+b*x^3+c*x^2+d*x+e=0 how to find its all roots?
The package rootSolve might proove interesting ______________________________________________ R-help@ mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. -- View this message in context: http://r.789695.n4.nabble.com/Is-there-a-way-to-find-all-roots-of-a-polynomial-equation-in-R-tp4568892p4569100.html Sent from the R help mailing list archive at Nabble.com.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20120418/553c3f3c/attachment.pl>
not much to speak of.
---------------------------------------------------------------------------
Jeff Newmiller The ..... ..... Go Live...
DCN:<jdnewmil at dcn.davis.ca.us> Basics: ##.#. ##.#. Live Go...
Live: OO#.. Dead: OO#.. Playing
Research Engineer (Solar/Batteries O.O#. #.O#. with
/Software/Embedded Controllers) .OO#. .OO#. rocks...1k
---------------------------------------------------------------------------
Sent from my phone. Please excuse my brevity.
Michael <comtech.usa at gmail.com> wrote:
how much accuracy does it have when I have a polynomial of thousands of orders? Thank you! On Wed, Apr 18, 2012 at 3:49 PM, Rolf Turner <rolf.turner at xtra.co.nz> wrote:
On 19/04/12 08:14, Michael wrote:
Is there a way to find all roots of a polynomial equation? Lets say x^5+a*x^4+b*x^3+c*x^2+d*x+e=0 how to find its all roots?
I believe that Galois (or maybe it was Abel) proved that this
is *NOT* possible, a couple of centuries ago.
However if you are thinking of *numerical* methods (i.e. supplying
numerical values for a, b, ..., e before you start) then polyroot()
will do it for you. As
RSiteSearch("zeroes of polynomial")
would have told you. (Seventh hit.)
cheers,
Rolf Turner
[[alternative HTML version deleted]]
______________________________________________ R-help at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.