Hello,

On Thu, Jan 28, 2010 at 2:26 AM, zieglerk <konstantin.zieg...@gmail.com> wrote:
> My problem is, how to transform a polynomial, say f(x)=x^2+1 into the
> corresponding equation f(x)==0?
>
> For example, I start with
>
> R = PolynomialRing(ZZ,x)
> f = R.random_element(degree = 3)

You could convert to the SymbolicRing SR where the equations live:

sage: R = PolynomialRing(ZZ,x)
sage: f = R.random_element(degree = 3); f
x - 1
sage: solve(SR(f)==0, x)
[x == 1]

--Mike

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

Reply via email to