I have three key points on a graph. How do I find out what the formula for this graph would be? The points are: (3,0) (5,2) (7,6). It is known that the graph will be a quadratic. Thanks
Tell me more
×
Mathematica Stack Exchange is a question and answer site for
users of Mathematica. It's 100% free, no registration required.
|
You can try
The graph can be generated by:
For your case, another approach is to solve the equations generated by the given points:
Of course, this solution will not work if the number of points increases and some of these points are not located on the curve. |
||||
|
|

InterpolatingPolynomial[{{3, 0}, {5, 2}, {7, 6}}, x]orLinearAlgebra`VandermondeSolve[{3, 5, 7}, {0, 2, 6}, Transpose -> True].x^Range[0, 2]. – J. M.♦ Oct 18 '12 at 7:37