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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Logical 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!