Fixed Point Iteration with order of convergence
1 view (last 30 days)
Show older comments
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 Comments
Answers (0)
See Also
Categories
Find more on Logical in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!