I know $x^3-3 x+1=0$ has three roots that can be expressed in trigonometric form: $\{2\sin(10^\circ),\,-2\cos(20^\circ),\,2\cos(40^\circ)\}$.
How can I get this result with Mathematica?
|
I know $x^3-3 x+1=0$ has three roots that can be expressed in trigonometric form: $\{2\sin(10^\circ),\,-2\cos(20^\circ),\,2\cos(40^\circ)\}$. How can I get this result with Mathematica? |
||||
|
You can apply an identity directly:
|
|||
|
|
|
|||
|
|
ComplexExpand@(x /. Solve[x^3 - 3 x + 1 == 0, x]). This question concerns the same issue as mathematica.stackexchange.com/questions/17269/… – Artes Jan 25 at 15:31Cos[π/9] + Sqrt[3] Sin[π/9]can be simplify to2 Cos[(2 π)/9]– maplematica Jan 25 at 15:58