Fixed Point Iteration with order of convergence

4 次查看(过去 30 天)
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 个)

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by