Applies the fixed point algorithm to find x such that ftn(x) == x, and plots the process.
fixedpoint_show(ftn, x0, xmin = x0 - 1, xmax = x0 + 1)
the function.
is the initial guess at the fixed point.
~~Describe xmin here~~
~~Describe xmax here~~
Returns the value of x at which ftn(x) == x. If the function fails to converge within max.iter iterations, returns NULL.
We assume that ftn is a function of a single variable.
Jones, O.D., R. Maillardet, and A.P. Robinson. 2009. An Introduction to Scientific Programming and Simulation, Using R. Chapman And Hall/CRC.