Nonlinear iteration example

Explore the two-term iteration x(n)=g(x(n-1)) for g(x)=3x-x^2. Slide x0 along the x-axis to check dependence of initial value.

To explore further, enter a new function in the Input field, e.g., g(x)=cos(x) or simply slide g(x) up/down or left/right.