Description Usage Arguments Details Value See Also Examples

The secant method for root finding

1 | ```
secant(f, x, tol = 0.001, m = 100)
``` |

`f` |
function to integrate |

`x` |
an initial estimate of the root |

`tol` |
the error tolerance |

`m` |
the maximum number of iterations |

The secant method for root finding extends Newton's method to
estimate the derivative. It will return when the interval between
them is less than `tol`

, the error tolerance. However, this
implementation also stop if after `m`

iterations.

the real root found

Other optimz: `bisection`

,
`goldsect`

, `gradient`

,
`hillclimbing`

, `newton`

,
`sa`

1 2 |

cmna documentation built on June 20, 2017, 9:08 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.