Post Reply 
How to do this on my Prime ?
09-29-2017, 12:26 PM
Post: #2
RE: How to do this on my Prime ?
1 - The quickest way might be to determine the Lagrange polynomial:

lagrange([1 -2 3], [2 1 4])

(then simplify the result).

2 - If you really want to solve the linear equations then you can do that as follows:

linsolve([a+b+c=2 4*a-2*b+c=1 9*a+3*b+c=4], [a b c])

3 - Or if you want to imitate the approach in your second screenshot:

f(x):=a*x^2+b*x+c
solve({f(1)=2,f(-2)=1,f(3)=4},[a b c])
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: How to do this on my Prime ? - AlexFekken - 09-29-2017 12:26 PM
RE: How to do this on my Prime ? - Dieter - 09-29-2017, 12:32 PM
RE: How to do this on my Prime ? - toshk - 09-29-2017, 04:53 PM



User(s) browsing this thread: 1 Guest(s)