nag_1d_cheb_fit_constr (e02agc) Example Program Results Degree RMS residual 3 2.55e-03 4 2.94e-03 Details of the fit of degree 4 Index Coefficient 0 3.9980 1 3.4995 2 3.0010 3 0.5005 4 -0.0000 i x(i) y(i) Fit Residual 0 0.5000 0.0300 0.0310 1.02e-03 1 1.0000 -0.7500 -0.7508 -7.81e-04 2 2.0000 -1.0000 -1.0020 -2.00e-03 3 2.5000 -0.1000 -0.0961 3.95e-03 4 3.0000 1.7500 1.7478 -2.17e-03