I need to find the root of the second derivative of many curves and do not
want
to cut and paste the expression results from the deriv() or D() functions
every time. Below is an
example. What I need to do is refer to fn2nd in the uniroot() function,
but when I
try something like
I need to find the root of the second derivative of many curves and do not
want to cut and paste the expression results from the deriv() or D()
functions every time. Below is an example. What I need to do is refer to
fn2nd in the uniroot() function, but when I try something like
On Sat, Feb 26, 2011 at 2:16 AM, jjheath heath_jer...@hotmail.com wrote:
I need to find the root of the second derivative of many curves and do not
want
to cut and paste the expression results from the deriv() or D() functions
every time. Below is an
example. What I need to do is refer to
Hans,
Both your methods worked great! They was exactly what I was looking for.
I ended up using the second method as it is a little more efficient:
fn2nd_fun - function(x) eval(fn2nd, list(x=x))
ex - seq(from=0, to=1, length.out = 1000)
y1 - fn2nd_fun(ex)
...
r -
4 matches
Mail list logo