function ellipse_area1_test ( )

%*****************************************************************************80
%
%% ellipse_area1_test() tests ellipse_area1().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    08 November 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'ellipse_area1_test():\n' );
  fprintf ( 1, '  ellipse_area1() computes the area of an ellipse.\n' );

  r = 10.0;
  a = [ 5.0, 1.0; ...
        1.0, 2.0 ];
  area = ellipse_area1 ( a, r );
  fprintf ( 1, '\n' );
  fprintf ( 1, '  R = %g\n', r );
  r8mat_print ( 2, 2, a, '  Matrix A in ellipse definition x*A*x=r^2' );
  fprintf ( 1, '  Area = %g\n', area );

  return
end
