I've been given the following function (reciprocal of 2nd order polynomial): $$f(x) = \frac{1}{ax^2+bx+c}$$ and an interval $I=[x_0, x_1]$.
I need to find a 3rd order polynomial $g(x)=a^\prime x^3+b^\prime x^2 + c^\prime x + d^\prime$ that best approximates $f$ on $I$ using least squared error.
Coefficients $a$, $b$, $c$ and interval bounds $x_0$, $x_1$ are given, so a numerical solution would be sufficient. However, I have many instances of the problem with different parameters, so an analytical solution that is easier to execute many times would be better.
The problem arises from two different physical models of a resistor value dependant on temperature. One manufacturer gives me $f(x)$, the other expects $g(x)$.