define n for a natural cubic spline

31 Views Asked by At

How to define it? Given an interval [0,1] with n+1 uniformly distributed nodes and f(x)=sin(2pi*x). What must n be for the natural cubic spline that belongs to be valid? enter image description here