The Attractor command generates two-dimensional images of the iterated or evolving solution of a system of equations. The command gets its name from the fact that certain systems have the property that if the solution becomes close enough to attaining some special state then it remains close.
For example, the special state may be the situation of being close to a particular point, curve, or surface which is then referred to as an attractor.
The Rossler attractor appears in the solution of the following set of differential equations:
A diagram for this system can be computed using an iterative map which effectively approximates a solution using a fixed step-size dt.
A temporary variable tx is added to the list of variables, so that values for variables x, y, and z can be iterated in unison.
>
|
|
>
|
|
>
|
|
The behavior of this iterated map depends on the values of the parameters a, b, and c. Using the following values, the computed orbit exhibits chaotic behavior around a fixed attractor. For other values of the parameter c, the evolving solution becomes periodic in nature.
>
|
|
>
|
|
>
|
|
| (2.1) |
>
|
|
The previous image has a view onto the x and y variables' space. An oblique view can be attained by introducing two additional variables and a projection. Here, a projection is made using a rotation about the first axis. A fixed viewing range is used.
The speed of computation is due to internal use of the Maple Compiler to apply the iterative map.
>
|
|
memory used=3.69MiB, alloc change=3.66MiB, cpu time=30.00ms, real time=35.00ms, gc time=0ns
| |
>
|
|
The Explore command can be used to obtain an application which can be used to interact with the Attractor diagram.
This allows a convenient mechanism for exploring the behavior of the solution as the number of iterations or the parameters change. The tilt angle can also be made interactive.
The following appliable module uses a local member img in order to take advantage of the in-place computational functionality of the Attractor command. The following procedure, Rossler, will generate an image according to its arguments which specify the parameter c, the number of iterations of the map, and the angle of tilt in the projected view.
The procedure Rossler can be passed to the Explore command to provide a convenient interface for varying the values of its arguments.
>
|
|