Thanks Vincent!What version of Sage are you using? With sage-9.8 I get:
---
from sympy import sympify
exp = sympify("CRootOf(x**5 + x + 1, 0)")
sage_poly = QQ['x'](list(map(QQ, reversed(exp.poly.rep.rep
sage_approx = RIF(exp.n()) + RIF(-1e-30, 1e-30)
QQbar.polynomial_root(sage_poly, sage
Dear Marcel,
It is a pity that this does not work more directly. Here is a work around
to achieve what you want to do
sage: exp = sympify("CRootOf(x**5 + x + 1, 0)")
sage: sage_poly = QQ['x'](list(map(QQ, reversed(exp.poly.rep.rep
sage: sage_approx = RIF(exp.n()) + RIF(-1e-30, 1e-30)
sage: Q
On Sat, Apr 1, 2023 at 6:34 AM Emmanuel Charpentier <
emanuel.charpent...@gmail.com> wrote:
> Le vendredi 31 mars 2023 à 15:19:51 UTC+2, William Stein a écrit :
>
> [ Snip… ]
>
> Meta comment -- I added this "Help me fix this..." feature to cocalc
> jupyter notebooks a week ago, and it's been extr
Le vendredi 31 mars 2023 à 15:19:51 UTC+2, William Stein a écrit :
[ Snip… ]
Meta comment -- I added this "Help me fix this..." feature to cocalc
jupyter notebooks a week ago, and it's been extremely
popular with 1000+ uses a day. It's exactly the sort of thing that ChatGPT
can be very helpf