org.opensourcephysics.sip.ch06
Class RecursiveFixedPointApp

java.lang.Object
  extended by org.opensourcephysics.controls.AbstractCalculation
      extended by org.opensourcephysics.sip.ch06.RecursiveFixedPointApp
All Implemented Interfaces:
Calculation

public class RecursiveFixedPointApp
extends AbstractCalculation

RecursiveFixedPointApp computes fixed points of the logistic map using the bisection root finding method. This class uses recursion to calculate the map.


Field Summary
 
Fields inherited from class org.opensourcephysics.controls.AbstractCalculation
control, decimalFormat, mainFrame
 
Constructor Summary
RecursiveFixedPointApp()
           
 
Method Summary
 void bisection()
          Implements the bisection method for finding the root.
 void calculate()
          Calculates the value of x for the trajectory that has the desired period.
static void main(java.lang.String[] args)
          Starts the Java application.
 void reset()
          Resets the calculation's default values.
 
Methods inherited from class org.opensourcephysics.controls.AbstractCalculation
addChildFrame, clearChildFrames, getChildFrames, getLoader, getMainFrame, getOSPApp, resetCalculation, setControl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecursiveFixedPointApp

public RecursiveFixedPointApp()
Method Detail

reset

public void reset()
Resets the calculation's default values.

Overrides:
reset in class AbstractCalculation

calculate

public void calculate()
Calculates the value of x for the trajectory that has the desired period.

Specified by:
calculate in interface Calculation
Specified by:
calculate in class AbstractCalculation

bisection

public void bisection()
Implements the bisection method for finding the root.


main

public static void main(java.lang.String[] args)
Starts the Java application.

Parameters:
args - command line parameters