SolveCubic Command

From GeoGebra Manual
Revision as of 22:24, 31 October 2014 by Murkle (talk | contribs) (add example and note)
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} + i \frac{\sqrt{3}}{2} , -\frac{1}{2} - i \frac{\sqrt{3}}{2} } .
Note:
You will often need to simplify your answers manually, eg SolveCubic[x³ + x² + x + 1].
© 2024 International GeoGebra Institute