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

NAG CL Interface Introduction
Example description

nag_inteq_fredholm2_smooth (d05abc) Example Program Results

Solution is even
(User-supplied callback g, first invocation.)
(User-supplied callback k, first invocation.)

Results for n = 5

Solution on first  5 Chebyshev points and Chebyshev coefficients
  i           x              f[i]        c[i]
  0        1.00000        0.75572    1.41519e+00
  1        0.93969        0.74534    4.93850e-02
  2        0.76604        0.71729   -1.04759e-03
  3        0.50000        0.68318   -2.32823e-04
  4        0.17365        0.66050    2.08908e-05

Solution on evenly spaced grid

     x           f(x)
  0.0000        0.65741
  0.2500        0.66383
  0.5000        0.68318
  0.7500        0.71488
  1.0000        0.75572


Results for n = 10

Solution on first 10 Chebyshev points and Chebyshev coefficients
  i           x              f[i]        c[i]
  0        1.00000        0.75572    1.41519e+00
  1        0.98636        0.75335    4.93851e-02
  2        0.94582        0.74638   -1.04752e-03
  3        0.87947        0.73524   -2.32755e-04
  4        0.78914        0.72081    1.99861e-05
  5        0.67728        0.70451    9.86781e-07
  6        0.54695        0.68824   -2.37962e-07
  7        0.40170        0.67403    1.85813e-09
  8        0.24549        0.66360    2.44835e-09
  9        0.08258        0.65811   -1.65272e-10

Solution on evenly spaced grid

     x           f(x)
  0.0000        0.65741
  0.2500        0.66383
  0.5000        0.68318
  0.7500        0.71488
  1.0000        0.75572