code: static public double F2(double x, double y) {
      double temp1 = (x * x) - y;
      double temp2 = x - 1.0;
      return ((100.0 * temp1 * temp1) + (temp2 * temp2));
    }
docs: F2: Rosenbrock's Function -- 2D version