Generate mathematical function out of given values/points

151 views Asked by At

I have three points x0=(x0|y0), x1=(x1|y1) and x2=(x2|y2).

Now I want to create a mathematical function out of those points.

The target is a function like this: f(x)=4x^2 + 2x + 6

What is the best way to do that in NodeJS?

0

There are 0 answers