Question: CurveFitting

I'm using the instructions;


with(CurveFitting):
pts := [[1, 2.5092], [2, 2.1219], [3, 1.8809], [4, 1.9421], [5, 2.2572], [6, 2.7967], [7, 3.2268], [8, 4.0927], [9, 4.9853], [10,6.3753]];
fn := LeastSquares( pts, x, curve = a*x^2 + b*x + c );
plots[pointplot]( pts );

and I get the plot, but a need to take the coeficients a, b, c. How I can get them into the same program?

Thanks you. Benjamin

Please Wait...