degree 1: 11 knots, max |f - sin| = 1.2e-02, max |f'' + sin| = - degree 2: 10 knots, max |f - sin| = 1.4e-03, max |f'' + sin| = 2.6e-01 degree 3: 9 knots, max |f - sin| = 8.8e-05, max |f'' + sin| = 1.9e-02 degree 5: 7 knots, max |f - sin| = 7.0e-06, max |f'' + sin| = 2.4e-03 degree 7: 5 knots, max |f - sin| = 5.2e-07, max |f'' + sin| = 2.3e-04 x = 0, 1, 2, 3, 4, 5 y = 0, 1, 4, 9, 16, 25 knots = 0, 2, 3, 5 coefficients = 0.0000, 0.0000, 2.0000, 10.3333, 18.3333, 25.0000 g(2.5) = 6.25, type BSpline, degree 3