Kon Knafelman wrote:
>
>
> if i have the following function,
>
> f <- function(x) x^3-2*x^2+3*x-5
>
> i need a simple function for the derivative of this with respect to 'x',
> so that i can then sub in values to the the derivative function, and use
> Newtons method of finding a root for this.
>
?deriv
?uniroot (if this is not homework)
Dieter
--
View this message in context:
http://www.nabble.com/%28no-subject%29-tp23498039p23498366.html
Sent from the R help mailing list archive at Nabble.com.
______________________________________________
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, minimal, self-contained, reproducible code.