- #1

- 2

- 0

x: 1 2 3 4 5 6 7 8 9 10

y: 1 8 27 64 125 216 343 512 729 1000

calculate the y-value at x=2.5, 5.7 and 9.75 by using cubic spline interpolation method

(in C language)

You are using an out of date browser. It may not display this or other websites correctly.

You should upgrade or use an alternative browser.

You should upgrade or use an alternative browser.

- Thread starter theerapol
- Start date

- #1

- 2

- 0

x: 1 2 3 4 5 6 7 8 9 10

y: 1 8 27 64 125 216 343 512 729 1000

calculate the y-value at x=2.5, 5.7 and 9.75 by using cubic spline interpolation method

(in C language)

- #2

HallsofIvy

Science Advisor

Homework Helper

- 41,833

- 964

For that matter, what is a "cubic spline"?

- #3

- 2

- 0

- #4

- 53

- 0

Numerical Analysis by Richard L. Burden and J. Douglas Faires gives a pseudo-code algorithm on how to program such a problem. If you don't know how to do it for 10 data points than you don't know how to do it for any amount of data points. Since you haven't posted an attempted solution I suggest searching the web on what exactly cubic spline interpolation is. Or reading that section of the textbook I suggested in a library or a bookstore.

[Edit] The book edition I have is edition 8.

[Edit] The book edition I have is edition 8.

Last edited:

Share:

- Replies
- 1

- Views
- 3K

- Replies
- 3

- Views
- 1K