SolveCubic Command

From GeoGebra Manual
Revision as of 17:16, 7 October 2017 by Zbynek (talk | contribs) (Text replace - ";(.*)\[(.*)\]" to ";$1($2)")
Jump to: navigation, search


CAS Syntax

SolveCubic( <Cubic Polynomial> )
Solves a given cubic polynomial and returns a list of all solutions.
Example:
SolveCubic[x³ - 1] yields { 1, \frac{1}{2} (\sqrt{3} i -1) , \frac{1}{2} (\sqrt{3} (-i) -1) } .
Note:
You will often need to simplify your answers manually, e.g. SolveCubic[x³ + x² + x + 1].
© 2024 International GeoGebra Institute