CompleteSquare Command

From GeoGebra Manual
Revision as of 12:39, 5 October 2017 by Mathmum (talk | contribs) (command syntax: changed [ ] into ( ))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


CompleteSquare( <Quadratic Function> )
Returns the quadratic function in the form: a (x - h)^2 + k.
Example:
CompleteSquare(x^2 - 4x + 7) yields 1 (x - 2)2 + 3.

CAS Syntax

CompleteSquare( <Quadratic Function> )
Returns the quadratic function in the form: a(x-h)^2+k.
Example:
CompleteSquare(x^2 - 4x + 7) yields (x - 2)2 + 3.

Comments

Article Completing the square on wikipedia shows how can this be useful in describing and plotting quadratic functions.

© 2024 International GeoGebra Institute