CompleteSquare Command

From GeoGebra Manual
Jump to: navigation, search


CompleteSquare( <Quadratic Function> )
Returns the quadratic function in the form: \mathrm{\mathsf{ 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: \mathrm{\mathsf{ 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.

  • GeoGebra
  • Help
  • Partners
  • Contact us
    • Feedback & Questions
    • This email address is being protected from spambots. You need JavaScript enabled to view it.
    • +43 677 6137 2693
© 2017 International GeoGebra Institute