Artin–Schreier theory

From formulasearchengine
Revision as of 13:45, 20 April 2013 by en>Yobot (References: WP:CHECKWIKI error fixes - Replaced endash with hyphen in sortkey per WP:MCSTJR using AWB (9100))
Jump to navigation Jump to search

Template:No footnotes

File:Michael Wu - TinkerBellMapGraph.gif
Tinkerbell attractor with a=0.9, b=-0.6013, c=2, d=0.5. Used starting values of x0=0.72 and y0=0.64.

The Tinkerbell map is a discrete-time dynamical system given by:

xn+1=xn2yn2+axn+byn
yn+1=2xnyn+cxn+dyn

Some commonly used values of a, b, c, and d are

Like all chaotic maps, the Tinkerbell Map has also been shown to have periods; after a certain number of mapping iterations any given point shown in the map to the right will find itself once again at its starting location.

The origin of the name is uncertain; however, the graphical picture of the system (as shown to the right) shows a similarity to the movement of Tinker Bell over Cinderella Castle, as shown at the beginning of all films produced by Disney.

Source code

The Java source code that was used to generate the Tinkerbell Map displayed above:

import java.io.*;

public class TinkerBellMap {
  public static void main(String[] args) throws Exception {
    FileWriter fstream = new FileWriter("TinkerBellMapOutput.txt");
    BufferedWriter out = new BufferedWriter(fstream);
    int time = 0, iterations = 50000;
    double x = -0.72, y = -0.64;
    double a = 0.9, b = -0.6013, c = 2.0, d = 0.5;
    while (time < iterations) {
      double oldX = x;
      x = Math.pow(x,2)-Math.pow(y,2)+a*x+b*y;
      y = 2*oldX*y+c*oldX+d*y;
      out.write(x+" "+y+"\n"); //writing data to a txt file to be read by Mathematica
      time++;
    }
  }
}

See also

References


Template:Chaos theory

Template:Mathapplied-stub