Fixed Point Iteration with order of convergence
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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)')
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Tables finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!