- #1

- 16

- 1

I have the following points that need to be fitted with a curve:

(1,20);(2,4);(5,3)

I'm wondering how to use the http://en.wikipedia.org/wiki/Lagrange_polynomial to do this.

If possible, can these points be fitted with a cubic function?

I tried to fit a cubic to this, but for me it's a game of guess and check which won't give me anything efficiently.