Natural Cubic Spline Interpolation
by
Prof. Richard B. Goldstein

Steps:
  1. Enter the x array - separate values by spaces (ex. 1 2.5 4 5)
  2. Enter the y array - separate values by spaces (ex. -4.8 7.2 11 15.1)
  3. Press the "check input" button
  4. Enter the number of decimal places for the cubic spline interpolation table
  5. Enter the x value (input for interpolation)
  6. Press the "Interpolate" button
x
y
Messages:

Decimal Places:
Input value (x)
Y value

S(x) = Sj(x) = aj + bj(x-xj) + cj(x-xj)2 + dj(x-xj)3 for xj <= x <= xj+1


Return to Numerical Analysis