function [ fxy_min, t ] = min2 ( n )

  if ( nargin < 1 )
    n = 101;
  end

  tic;

  x = linspace ( 0.0, pi, n );
  y = linspace ( 0.0, pi, n );
  [ X, Y ] = meshgrid ( x, y );
  F = f2 ( X, Y );
  fxy_min = min ( min ( F ) );

  t = toc;

  return
end
function value = f2 ( x, y )

  m = 10;

  value = - sin ( x ) .* ( sin (     x.^2 / pi ) ).^( 2 * m ) ...
          - sin ( y ) .* ( sin ( 2 * y.^2 / pi ) ).^( 2 * m );

  return
end
