Solving equations--fixed point iteration

Source: Internet
Author: User

Definition: If G (r) =r, then the real number r is a fixed point of function G.

If we have an equation f (x) = 0, which is indicated as a fixed point problem, there is: g (x) =x (Note: f (x) =g (x)-X)

The fixed point r is a root of the equation f (x) =0, which is the y=g (x) and the y=x of the intersection is the fixed point R

Algorithm Analysis: x0 = Initial Set value

x1 = g (x0)

x2 = g (x1)

x3 = g (x2)

...    ...

X (k+1) = g (x (k))

Until it converges to g (r) = g (Lim x (i)) = Lim X (i+1) = R

MATLAB Code implementation:

= FPI (g,x0,k)x(1) = x0;  for i = 1: k    x(i+1) = g (x (i));  End= x (k+1);

Solving equations--fixed point iteration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.