nco_abscissas_ab Subroutine

subroutine nco_abscissas_ab(a, b, n, x)

************80

! NCO_ABSCISSAS_AB computes the Newton Cotes Open abscissas for [A,B].

Licensing:

This code is distributed under the GNU LGPL license.

Modified:

29 December 2007

Author:

John Burkardt

Parameters:

Input, real ( kind = 8 ) A, B, the endpoints of the interval.

Input, integer ( kind = 4 ) N, the order of the rule.

Output, real ( kind = 8 ) X(N), the abscissas.

Arguments

Type IntentOptional Attributes Name
real(kind=8) :: a
real(kind=8) :: b
integer(kind=4) :: n
real(kind=8) :: x(n)