function value = p03_fun ( x )

%*****************************************************************************80
%
%% p03_fun() evaluates the function for problem 3.
%
%  Discussion:
%
%    This is a step function with a jump from 0 to 1 at 0.
%
%  Dimension:
%
%    N = 1
%
%  Interval:
%
%    -1 <= X <= 1
%
%  Function:
%
%    F(X) = 0 if X < 0
%           1 if 0 < X.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    24 August 2011
%
%  Author:
%
%    John Burkardt
%
%  Input:
%
%    real X, the point at which the function
%    is to be evaluated.
%
%  Output:
%
%    real VALUE, the value of the function at X.
%
  value = ( 0.0 <= x );

  return
end
