Re: Pn(x) Polynomial fitting

Here. I'll create a polynomial that passes through for your first three points

.005 f(.005) = .376

.01 f(.01) .41

.02 f(.02) = .428

Since we have 3 points, assume that there exists a polynomial such that . Then

p(.005) =

p(.01) =

p(.02) =

What we get is a system of linear equations with 3 unknowns and 3 equations.

So solving, i get and .

So our polynomial is

So verification

So There ya go. Just do this for all your data points and use this linear solver linked below to get the coefficients.

Linear solver

The linear solver seems to be able to only solve 9 linear equations in 9 variables. So i got for the first 9 points

Here are the test results

Got Value Expected Value

Got Value Expected Value

Got Value Expected Value

Got Value Expected Value

Got Value Expected Value

Got Value Expected Value

Got Value Expected Value

Got Value Expected Value

Got Value Expected Value

As you can see every data point added makes the polynomial error grow at a very large rate, i guess that is to be expected