FitPoly Command

FitPoly( <List of Points>, <Degree of Polynomial> )

Calculates the polynomial regression model of given degree that fits the specified points.

FitPoly({(-1, -1), (0, 1), (1, 1), (2, 5)}, 3) yields f(x) = x3 - 1 x2 + 1.

FitPoly( <Freehand Function>, <Degree of Polynomial> )

Calculates the polynomial regression model of given degree that fits a function drawn using the Freehand Shape Tool.

CAS Syntax

FitPoly( <List of Points>, <Degree of Polynomial> )

Calculates the polynomial regression model of given degree that fits the specified points.

FitPoly({(-1, -1), (0, 1), (1, 1), (2, 5)}, 3) yields x3 - x2 + 1.