11.3.b. Least square fitting 2 0.0/10.0 points (graded) Find a polynomial 20 P(x) = do + a1x + a222 of degree 2 which gives the best least squares fit for the following points: 0 (-4, -64), (3,6), (4, -8), (5,-28) -20 How to enter polynomials. Enter the formula for a polynomial using * to denote multiplication and ^ to denote the exponent. For example, if the answer is the polynomial -40 . 3 . P(x) = 1 – 2x + x2 +4.5x3 -60 then you should enter 1 - 2*x + (3/7)*x^2 + 4.5*x^3 . Do not forget to use for multiplication! -4 -2 0 2 4 Note. You can enter polynomial coefficients either as fractions or in the decimal form, with precision up to 3 decimal places.
没有找到相关结果