function value = g_07 ( x )

%*****************************************************************************80
%
%% G_07 evaluates 2x^4-4x^2+x+20.
%
%  Discussion:
%
%    There is a local minimum near 0.930, and a global minimum near -1.05.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    26 September 2018
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real X, the point at which F is to be evaluated.
%
%  Output:
%
%    real VALUE, the value of the function at X.
%
  value = 2.0 * x .^ 4 - 4.0 * x .^ 2 + x + 20.0;

  return
end
