sage: s=solve(3*x^3-9*x+10,x,solution_dict=True)
sage: ns=[n(s[k][x]) for k in range(3)]
sage: ns
[1.06780542232902 - 1.84949324407141*I, 0.0277635108030695 +
1.24902476648341*I, -1.09556893313209 +
0.600468477588001*I]             # no real solution,   no conjugate
solutions

sage: x=CC[x].0
sage: p=3*x^3-9*x+10
sage: p.roots(multiplicities=False)
[-2.13561084465804, 1.06780542232902 - 0.648556288895405*I,
1.06780542232902 + 0.648556288895405*I]

Andrzej Chrzeszczyk

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to