Maxima Function
staircase (F, y0, n, ...options...);
Draws a staircase diagram for the sequence defined by the recurrence relation
y(n+1) = F(y(n))
The interpretation and allowed values of the input parameters is the
same as for the function evolution
. A staircase diagram consists
of a plot of the function F(y), together with the line
G(y) =
y. A vertical segment is drawn from the
point (y0, y0) on that line until the point where it
intersects the function F. From that point a horizontal segment is
drawn until it reaches the point (y1, y1) on the line, and
the procedure is repeated n times until the point (yn, yn)
is reached.