FixedPointIteration
Fixed-point iteration is a simple method for solving equations by rewriting them in the form x = g(x). Starting from an initial guess x0, the method generates a sequence x_{n+1} = g(x_n). If the sequence converges to a limit x*, then x* satisfies x* = g(x*), i.e., it is a fixed point of g, and x* solves the original equation.
Convergence of fixed-point iteration is not guaranteed and depends on the properties of g. A common and
The method is a particular instance of the Banach fixed-point theorem. The theorem guarantees existence and
Example: solve x = cos x by fixed-point iteration with g(x) = cos x. Starting from x0 = 1,