I tried to find an answer for some time, the answer is simple probably ,say I have a function given by set of points and their values like ${(4,1),(5,0),(6,0)}$, how do I calculate Lagrange interpolation polynomial for them? We know that $$w(x) = 1*l_0(x) + 0*l_1(x)+0*l_2(x)$$ But I think we are obviously losing information here calculating only for the first term the $w(x)$. I can't find a clue.
How to proceed?