Difference between revisions of "FitPoly Command"
From GeoGebra Manual
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | <noinclude>{{Manual Page|version=4.0}}[[Category:Manual (official)|{{PAGENAME}}]]</noinclude> | ||
{{command|statistics}} | {{command|statistics}} | ||
− | ; FitPoly[List of Points, Degree n of Polynomial]: Calculates the regression polynomial of degree ''n''. | + | ;FitPoly[ <List of Points>, <Degree n of Polynomial> ] |
− | == | + | :Calculates the regression polynomial of degree ''n''. |
− | + | :{{example| 1=<div><code><nowiki>FitPoly[{(-1, -1), (0, 1), (1, 1), (2, 5)}, 3]</nowiki></code> gives ''x<sup>3</sup> - x<sup>2</sup> + 1''.</div>}} | |
− | ; FitPoly[List of Points, Degree n of Polynomial]: Calculates the regression polynomial of degree ''n''. | + | {{note| 1=<div> |
+ | See also [[FitExp Command]], [[FitLog Command]], [[FitPow Command]] and [[FitSin Command]]. | ||
+ | </div>}} | ||
+ | ==CAS Syntax== | ||
+ | ;FitPoly[ <List of Points>, <Degree n of Polynomial> ] | ||
+ | :Calculates the regression polynomial of degree ''n''. | ||
+ | :{{example| 1=<div><code><nowiki>FitPoly[{(-1, -1), (0, 1), (1, 1), (2, 5)}, 3]</nowiki></code> gives ''x<sup>3</sup> - x<sup>2</sup> + 1''.</div>}} | ||
+ | {{note| 1=<div> | ||
+ | See also [[FitExp Command]], [[FitLog Command]], [[FitPow Command]] and [[FitSin Command]]. | ||
+ | </div>}} |
Revision as of 13:31, 5 August 2011
- 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]
gives x3 - x2 + 1.
Note:
See also FitExp Command, FitLog Command, FitPow Command and FitSin Command.
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]
gives x3 - x2 + 1.
Note:
See also FitExp Command, FitLog Command, FitPow Command and FitSin Command.