Difference between revisions of "Polynomial Command"

From GeoGebra Manual
Jump to: navigation, search
Line 6: Line 6:
 
; Polynomial[ <List of Points> ]
 
; Polynomial[ <List of Points> ]
 
: Creates the interpolation polynomial of degree ''n-1'' through the given ''n'' 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''. }}
+
: {{Example|1=<code>Polynomial[{(1, 1), (2, 3), (3, 6)}]</code> yields ''0.5 x<sup>2</sup> + 0.5 x''. }}

Revision as of 10:28, 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, 6)}] yields 0.5 x2 + 0.5 x.
© 2024 International GeoGebra Institute