SolveCubic Command
From GeoGebra Manual
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:
Often the answers are very cumbersome, e.g.
SolveCubic(x³ + x² + x + 2)
in which case Solve(x³ + x² + x + 2)
or CSolve(x³ + x² + x + 2)
may work better for you.