nag_2d_cheb_eval (e02cbc) Example Program Results y = 1.0000e+00 i x(i) Poly(x(i),y) 0 5.0000e-01 2.0812e+00 1 1.0000e+00 2.1888e+00 2 1.5000e+00 2.3018e+00 3 2.0000e+00 2.4204e+00 4 2.5000e+00 2.5450e+00 5 3.0000e+00 2.6758e+00 6 3.5000e+00 2.8131e+00 7 4.0000e+00 2.9572e+00 8 4.5000e+00 3.1084e+00 y = 1.5000e+00 i x(i) Poly(x(i),y) 0 5.0000e-01 2.6211e+00 1 1.0000e+00 2.7553e+00 2 1.5000e+00 2.8963e+00 3 2.0000e+00 3.0444e+00 4 2.5000e+00 3.2002e+00 5 3.0000e+00 3.3639e+00 6 3.5000e+00 3.5359e+00 7 4.0000e+00 3.7166e+00 y = 2.0000e+00 i x(i) Poly(x(i),y) 0 5.0000e-01 3.1700e+00 1 1.0000e+00 3.3315e+00 2 1.5000e+00 3.5015e+00 3 2.0000e+00 3.6806e+00 4 2.5000e+00 3.8692e+00 5 3.0000e+00 4.0678e+00 6 3.5000e+00 4.2769e+00 7 4.0000e+00 4.4971e+00