CompleteSquare Command

From GeoGebra Manual
Revision as of 11:01, 24 June 2013 by Mathmum (talk | contribs) (added example and cas syntax)
Jump to: navigation, search



CompleteSquare[ <Quadratic Function> ]
Returns the quadratic function in vertex form: a(x-h)^2+k.
Example: CompleteSquare[x^2 - 4x + 7] yields the function f(x) = (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