Difference between revisions of "CompleteSquare Command"

From GeoGebra Manual
Jump to: navigation, search
m
m
Line 1: Line 1:
<noinclude>{{Manual Page|version=5.0}}</noinclude>
+
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|algebra}}
{{command|algebra}}
 
 
;CompleteSquare[ <Quadratic Function> ]
 
;CompleteSquare[ <Quadratic Function> ]
 
:Returns the quadratic function in the form: <math>a (x - h)^2 + k</math>.
 
:Returns the quadratic function in the form: <math>a (x - h)^2 + k</math>.

Revision as of 09:00, 20 August 2015


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