Hi,

I have a question about derivatives of functions.

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.

Please help.

Regards,

Kon Knafelman

_________________________________________________________________



        [[alternative HTML version deleted]]

______________________________________________
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.

Reply via email to