Difference between revisions of "Polynomial Command"
From GeoGebra Manual
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.2}}</noinclude> | <noinclude>{{Manual Page|version=4.2}}</noinclude> | ||
{{command|function}} | {{command|function}} | ||
− | + | ; Polynomial[ <Function> ] | |
− | ; Polynomial[Function]: Yields the expanded polynomial function. | + | :Yields the expanded polynomial function. |
: {{Example|1=<code>Polynomial[(x - 3)^2]</code> yields ''x<sup>2</sup> - 6x + 9''. }} | : {{Example|1=<code>Polynomial[(x - 3)^2]</code> yields ''x<sup>2</sup> - 6x + 9''. }} | ||
− | ; Polynomial[List of | + | ; Polynomial[ <List of Points> ] |
+ | : Creates the interpolation polynomial of degree ''n-1'' through the given ''n'' points. | ||
+ | : {{Example|1=<code>Polynomial[{(1, 1), (2, 3), (3, 5)}]</code> yields ''2x - 1''. }} |
Revision as of 10:17, 19 April 2013
- Polynomial[ <Function> ]
- Yields the expanded polynomial function.
- Example:
Polynomial[(x - 3)^2]
yields x2 - 6x + 9.
- Polynomial[ <List of Points> ]
- Creates the interpolation polynomial of degree n-1 through the given n points.
- Example:
Polynomial[{(1, 1), (2, 3), (3, 5)}]
yields 2x - 1.