Displaying 1 result from an estimated 1 matches for "x5vdbync3gxfs5hp".
2009 May 17
2
Newton's method for finding roots
Hey guys, i have a relatively simple problem.
I need to use netwon's method to find the root of a polynomial, lets say x^3-2x-1
i start off with
p <- function(x) x^3-2*x-1
My method, which im sure is very amateur, is to type another function, which is the derivative of p, and after picking an initial value to start off with, i follow the steps of newton's method manually, but i dont