CASCALC89 COMMAND · NOT ON THE TI-89
completeSquare(
Rewrites a quadratic expression in completed square form. In class it is the quick way to read off the vertex of a parabola.
Syntax
completeSquare(expr, var)
- Group
- Algebra
- Arguments
- Takes the quadratic expression and the variable.
- Availability
- Included
- Origin
- TI-Nspire CAS style command; the TI-89 Titanium handheld does not have it
Example
| Input | Result |
|---|---|
| completeSquare(x^2+3x,x) | (x+3/2)2−9/4 |
Typing completeSquare(x^2+3x,x) on the home screen and pressing ENTER returns (x+3/2)2−9/4.
Related commands
- cPolyRoots(Returns all roots of a polynomial as a list, including non-real complex roots.
- cSolve(Solves an equation over the complex numbers and returns both real and non-real solutions.
- cZeros(Returns the real and non-real zeros of an expression as a list.
- domain(Returns the domain of an expression with respect to a variable as a condition, for example x≠0.
- exact(Converts a decimal or approximate value into an exact rational form where possible.
- expand(Multiplies out products and powers in an expression and returns a sum of terms.
- exp▶list(Extracts the values from a solution such as x=1 or x=2 and returns them as a list.
- factor(Factors an expression over the rational numbers, for example a polynomial into linear and irreducible quadratic factors.