- #1
BearY
- 53
- 8
Homework Statement
This is a bit unusual, I don't know whether I should post it here or math forum tbh.
When I was doing numerical method home work, I am required to do perform both of these interpolation on a set of 4 data points. It turns out that the result of these 2 methods always agrees with each other(not proven in any way, just by playing with data, that's why I am asking). We were asked to explain this. I have not a clue how this is happening.
Homework Equations
The Attempt at a Solution
Since there are 4 data points, the Lagrange polynomial is also a cubic function. I have that to start with.
I also have the formula of how the cubic splines are piece-wise calculated. But then I am stuck here.
Is it because of the formula or there is a deeper reason?
Last edited: