NAG Library Manual, Mark 28.4
Interfaces:  FL   CL   CPP   AD 

NAG FL Interface Introduction
Example description

 D05ABF Example Program Results

 Solution is even

 Results for N =  5

 Solution on first  5 Chebyshev points and Chebyshev coefficients
   I           X             F(I)         C(I)
   1        0.93969        0.75572    0.14152E+01
   2        0.76604        0.74534    0.49384E-01
   3        0.50000        0.71729   -0.10476E-02
   4        0.17365        0.68319   -0.23282E-03
   5       -0.17365        0.66051    0.20890E-04

 Solution on evenly spaced grid
      X           F(X)
   0.0000        0.65742
   0.2500        0.66383
   0.5000        0.68319
   0.7500        0.71489
   1.0000        0.75572

 Results for N = 10

 Solution on first 10 Chebyshev points and Chebyshev coefficients
   I           X             F(I)         C(I)
   1        0.98636        0.75572    0.14152E+01
   2        0.94582        0.75336    0.49384E-01
   3        0.87947        0.74639   -0.10475E-02
   4        0.78914        0.73525   -0.23275E-03
   5        0.67728        0.72081    0.19986E-04
   6        0.54695        0.70452    0.98675E-06
   7        0.40170        0.68825   -0.23796E-06
   8        0.24549        0.67404    0.18581E-08
   9        0.08258        0.66361    0.24483E-08
  10       -0.08258        0.65812   -0.16527E-09

 Solution on evenly spaced grid
      X           F(X)
   0.0000        0.65742
   0.2500        0.66384
   0.5000        0.68319
   0.7500        0.71489
   1.0000        0.75572