function x = p04_x ( n )

%*****************************************************************************80
%
%% P04_X returns the least squares solution X for problem 4.
%
%  Licensing:
%
%    This code is distributed under the GNU LGPL license.
%
%  Modified:
%
%    16 April 2012
%
%  Author:
%
%    John Burkardt
%
%  Parameters:
%
%    Input, integer N, the number of variables.
%
%    Output, real X(N,1), the least squares solution.
%
  x = [ 1.0; 2.0; 3.0; 4.0; 5.0 ];

  return
end
