Optimization: principles and algorithms, by Michel Bierlaire
secantOneVariable.m File Reference

Algorithm 8.2: Newton's secant method, one variable. More...

Go to the source code of this file.

## Functions

function secantOneVariable (in obj, in x0, in a0, in eps, in maxiter)
Applies Newton's secant algorithm to solve where . More...

## Detailed Description

Algorithm 8.2: Newton's secant method, one variable.

Implementation of algorithm 8.2 of [1]

Date
Thu Mar 19 09:53:09 2015

Definition in file secantOneVariable.m.

## Function Documentation

 function secantOneVariable ( in obj, in x0, in a0, in eps, in maxiter )

Applies Newton's secant algorithm to solve where .

Note
Tested with run0703sec.m
Parameters
 obj the name of the Octave function defining F(x) x0 the starting point a0 the first approximation of the derivative eps algorithm stops if . maxiter maximum number of iterations (Default: 100)
Returns
root of the function