On Tue, Jan 5, 2010 at 5:25 PM, Carl Witthoft wrote:
> quote:
> > There are certainly formulas for solving polynomials numerically up to
> 4th degree non-iteratively, but you will almost certainly get better results
> using iterative methods.
>
> I must be missing something here. Why not use t
.
-36 0.666807156100 0.
8
# - #
Larry Hotchkiss
--
Message: 7
Date: Wed, 6 Jan 2010 13:03:14 +0100
Fr
Try,
library(polynom)
p <- polynomial(c(-8,14,-7,1))
solve(p)
Kasper
__
R-help@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,
quote:
There are certainly formulas for solving polynomials numerically up to
4th degree non-iteratively, but you will almost certainly get better
results using iterative methods.
endquote
I must be missing something here. Why not use the analytic formulas for
polynomials below 5th degree?
standard square root computation requires an iteration. Spencer
Peter Dalgaard wrote:
Mads Jeppe Tarp-Johansen wrote:
To R-helpers,
R offers the polyroot function for solving mentioned equations iteratively.
However, Dr Math and Mathworld (and other places) show in detail how to
solve men
Mads Jeppe Tarp-Johansen wrote:
> To R-helpers,
>
> R offers the polyroot function for solving mentioned equations iteratively.
>
> However, Dr Math and Mathworld (and other places) show in detail how to
> solve mentioned equations non-iteratively.
>
> Do implementations for R that are non-itera
There are certainly formulas for solving polynomials numerically up to 4th
degree non-iteratively, but you will almost certainly get better results
using iterative methods.
Even the much more trivial formula for the 2nd degree (quadratic) is tricky
to implement correctly and accurately, see:
* Ge
To R-helpers,
R offers the polyroot function for solving mentioned equations
iteratively.
However, Dr Math and Mathworld (and other places) show in detail how to
solve mentioned equations non-iteratively.
Do implementations for R that are non-iterative and that solve mentioned
equations exis
8 matches
Mail list logo