function chebyshev_even2_test ( )

%*****************************************************************************80
%
%% chebyshev_even2_test() tests CHEBYSHEV_EVEN2.
%
%  Licensing:
%
%    This code is distributed under the MIT license. 
%
%  Modified:
%
%    08 January 2016
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'chebyshev_even2_test():\n' );
  fprintf ( 1, '  CHEBYSHEV_EVEN2 computes the even Chebyshev coefficients\n' );
  fprintf ( 1, '  of a function F, using the zeros of Tn(x).\n' );

  lambda = 0.75;
  a = 2.0;
  n = 6;

  b2 = chebyshev_even2 ( n, @ ( x ) cos ( a * x ) );

  s = floor ( n / 2 );
  r8vec_print ( s + 1, b2, '  Computed Coefficients:' );

  return
end
