function uvp_stokes1_test ( )

%*****************************************************************************80
%
%% uvp_stokes1_test() samples the solution #1.
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    23 January 2015
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'uvp_stokes1_test()\n' );
  fprintf ( 1, '  Exact Stokes solution #1:\n' );
  fprintf ( 1, '  Estimate the range of velocity and pressure\n' );
  fprintf ( 1, '  using a region that is the unit square.\n' );

  n = 1000;
  xy_lo = 0.0;
  xy_hi = 1.0;

  x = rand ( n, 1 );
  y = rand ( n, 1 );

  [ u, v, p ] = uvp_stokes1 ( x, y );

  fprintf ( 1, '\n' );
  fprintf ( 1, '           Minimum       Maximum\n' );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  U:    %14.6g  %14.6g\n', min ( u ), max ( u ) );
  fprintf ( 1, '  V:    %14.6g  %14.6g\n', min ( v ), max ( v ) );
  fprintf ( 1, '  P:    %14.6g  %14.6g\n', min ( p ), max ( p ) );

  return
end
