Fixed Point Iteration with order of convergence

1 vue (au cours des 30 derniers jours)
Danielle Moore
Danielle Moore le 18 Mar 2016
Show that the fixed point iteration
x(n+1)=xn-tan(xn)+1/2tan^3(xn),
with x0 sufficiently close to pi, converges to x=pi with order of convergence equal to 3.
How do code this so I can get this to display in a table so I can show how it converges? Do have to use the while command?
disp('n xn x(n+1)')

Réponses (0)

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by