FitPoly Command

From GeoGebra Manual
Revision as of 10:05, 14 September 2012 by Alexander Hartl (talk | contribs)
Jump to: navigation, search


FitPoly[ <List of Points>, <Degree n of Polynomial> ]
Calculates the regression polynomial of degree n.
Example:
FitPoly[{(-1, -1), (0, 1), (1, 1), (2, 5)}, 3] yields x^3 - x^2 + 1.
Note:
For order n there must be at least n + 1 Points in the list.

CAS Syntax

FitPoly[ <List of Points>, <Degree n of Polynomial> ]
Calculates the regression polynomial of degree n.
Example:
FitPoly[{(-1, -1), (0, 1), (1, 1), (2, 5)}, 3] yields x^3 - x^2 + 1.
Note:
For order n there must be at least n + 1 Points in the list.
© 2024 International GeoGebra Institute