Test case:
Cubic Spline Interpolation
Data must be input from the smallest x value to the largest...
Number of data points to enter? 8
x for point 1 = 1973 y for point 1 = .371
x for point 1 = 1974 y for point 1 = ..484
x for point 1 = 1975 y for point 1 = .524
x for point 1 = 1976 y for point 1 = ..580
x for point 1 = 1977 y for point 1 = ..586
x for point 1 = 1978 y for point 1 = ..588
x for point 1 = 1979 y for point 1 = ..652
x for point 1 = 1980 y for point 1 = .1.111
Single point, enter x: 1975,5
y(x)= .554125
Enter increment: .25
1973 0.371 1973.25 0.40609375 1973.5 0.436625 1973.75 0.46259375 1974 0.484 1974.25 0.49875781 1974.5 0.5075625 1974.75 0.51458594 1975 0.524 1975.25 0.53804688 1975.5 0.554125 1975.75 0.56914063 1976 0.58 1976.25 0.58510937 1976.5 0.586375 1976.75 0.58595312 1977 0.586 1977.25 0.58532812 1977.5 0.583375 1977.75 0.58323437 1978 0.588 1978.25 0.59038281 1978.5 0.5914375 1978.75 0.60677344 1979 0.652 1979.25 0.72971875 1979.5 0.832125 1979.75 0.95921875
|