Create a program that takes as input an interval [b], n, and function f, and outputs the spline approximated by n intervals of size (b-a).
Secondly, allow the program to take as input a collection {a on b} and function f, and outputs the spline approximating f at Yi=f.
MacBook Air