From: Jaime V. <vi...@fe...> - 2024-07-27 19:40:54
|
Hello, Function "evolution" helps you understand the difference between the two examples: evolution(cos(y),1,11); evolution(2*y*(1-y),1,11); In the first case, the sequence approaches gradually to a stationary point and that's why staircase shows a coweb diagram. In the second case, after the first iteration the sequence reaches the stationary point y=0. Hence, staircase shows just two blue segments, from (1,1) to (1,0) and from (1,0) to (0,0). If you choose an initial value in the interval 0<y<1 for 2*y*(1-y), you will get a coweb that approaches a stationary point. Regards, Jaime On 27/07/24 19:28, Daniel Wiley wrote: > Hi, > > I am trying to plot this function in Maxima: 2*y*(1-y) using the > staircase function so the full code I input is > staircase(2*y*(1-y),1,11,[y,0,1]); > When I run the code in Maxima it plots the function 2*y*(1-y)but > doesn't show the next iteration of that function/ it doesn't display > the cobweb diagram similar to this code: > staircase(cos(y),1,11,[y,0,1]); > > What am I doing wrong? Where can I find out more examples of how to > use the staircase function in Maxima? > > Thanks, > > Daniel > > > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss |