find root of a function using the Newton Raphson algorithm.
newtonRaphson(f, df, start = 0, atol = 1e-04, rtol = 1e-04,
maxit = 10000, ...)
a numeric valued function from a single numeric argument.
the derivative of `f`.
numerical value. The initial position for the Newton Raphson iteration.
numeric value. The absolute tolerence for finding a root.
numeric value. The relative tolerence for finding a root.
an integer value. The maximal number of iterations.
additional parameters to be passed to `f`.
a numeric value, the root.