I have an unkown polynomial p(x). That have 3 points with the coordinates p(-1)=0 and p(0)=5 and p(2) =-3
I need to find the equation for p(x)
So i figure i can set up a equation system.
Y = ax2 + bx + c
0 = a(-1)2 +b(-1) + c
5 = a0 + 0b + c
-3 = a2 + b2 + c
But when i try to solve it using the inserting method and the addition method by using c = 5 from the 2nd equation i do not get the right answer. Do i have them set up wrong?
I need to find the equation for p(x)
So i figure i can set up a equation system.
Y = ax2 + bx + c
0 = a(-1)2 +b(-1) + c
5 = a0 + 0b + c
-3 = a2 + b2 + c
But when i try to solve it using the inserting method and the addition method by using c = 5 from the 2nd equation i do not get the right answer. Do i have them set up wrong?