Difference between revisions of "SolveCubic Command"
From GeoGebra Manual
m (Text replace - "" to "") |
m |
||
Line 1: | Line 1: | ||
<noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|function}} | <noinclude>{{Manual Page|version=5.0}}</noinclude>{{command|cas=true|function}} | ||
− | |||
==CAS Syntax== | ==CAS Syntax== | ||
;SolveCubic[ <Cubic Polynomial> ] | ;SolveCubic[ <Cubic Polynomial> ] |
Revision as of 10:46, 11 August 2015
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]
.