function value = quartic ( x )

%% quartic evaluates the quartic function.

  value = 2.0 * x.^4 - 4.0 * x.^2 + x + 20.0;
  return
end

