function laguerre_polynomial_test03 ( )

%*****************************************************************************80
%
%% laguerre_polynomial_test03() tests l_polynomial_zeros().
%
%  Licensing:
%
%    This code is distributed under the MIT license.
%
%  Modified:
%
%    09 March 2012
%
%  Author:
%
%    John Burkardt
%
  fprintf ( 1, '\n' );
  fprintf ( 1, 'laguerre_polynomial_test03():\n' );
  fprintf ( 1, '  l_polynomial_zeros() computes the zeros of L(n,x)\n' );
  fprintf ( 1, '  Check by calling l_polynomial() there.\n' );

  for degree = 1 : 5

    z = l_polynomial_zeros ( degree );
    title = sprintf ( '  Computed zeros for L(%d,z):', degree );
    r8vec_print ( degree, z, title );

    lz = l_polynomial ( degree, degree, z );
    title = sprintf ( '  Evaluate L(%d,z):', degree );
    r8vec_print ( degree, lz(1:degree,degree+1), title );

  end

  return
end
