[R] Finding root using Newton's method

Richard.Cotton at hsl.gov.uk Richard.Cotton at hsl.gov.uk
Thu May 14 10:00:50 CEST 2009


> I want generate R code to determine the real root of the polynomial
> x^3-2*x^2+3*x-5. Using an initial guess of 1 with Newton's method.


> Homework? - see your instructor! Otherwise, provide minimal 
self-contained
> code and show us where you are stuck.

It gets a little suspicious when there are several people asking to 
determine the root of the exact same polynomial using the same method.  Is 
it really so hard to RSiteSearch for an appropriate keyword?

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:20}}




More information about the R-help mailing list