import java.util.*;
//***********************************************************************************
/** Class to return iterate of user's map function.
*/
//***********************************************************************************
public class Map1DMyFunction extends Map1DFunction {
double y;
double xnew,ynew;
Map1DMyFunction() {
nParameters=2;
a=new double[nParameters];
aDefault = new double [nParameters];
aDefault[0]=0.4;
aDefault[1]=0.3;
aMinimum=0.;
aMaximum=1.;
enforceARange=true;
enforceBRange=true;
bMinimum=0.;
bMaximum=0.5;
x0Default=0.2;
title = "Bakers Map";
y=Math.random();
}
public double evaluateFunction(double x) {
if (y