suivant: fsolve or nSolve with
monter: Solve equations with fsolve
précédent: fsolve or nSolve with
Table des matières
Index
The secant methode is a simplified version of the Newton method.
The computation of x1 is done using the Newton method.
The computation of
f'(xn), n > 1 is done approximatively.
This method is used when the
computation of the derivative is expensive:
xi+1 =
xi -
,
f'est =
The convergence for roots of multiplicity 1
is of order
(1 + )/2 1.62....
Input :
fsolve((cos(x))=x,x,-1..1,secant_solver)
Output :
[0.739085078239,0.739085137844]
Input :
fsolve((cos(x))=x,x,0,secant_solver)
Output :
0.739085133215
giac documentation written by Renée De Graeve and Bernard Parisse