Difference between revisions of "FitPoly Command"

From GeoGebra Manual
Jump to: navigation, search
m (Text replace - "<div class="box info"> 48px|left This page is part of the official manual for print and pdf. For structural reasons normal users can't edit this page. If you found any errors on this page please contact )
Line 1: Line 1:
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude>
+
<noinclude>{{Manual Page|version=4.2}}</noinclude>
 
{{command|cas=true|statistics}}
 
{{command|cas=true|statistics}}
 
;FitPoly[ <List of Points>, <Degree n of Polynomial> ]
 
;FitPoly[ <List of Points>, <Degree n of Polynomial> ]

Revision as of 22:11, 9 March 2013



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