Hi,

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)

Then

f == 0

returns false. And that's a good thing, of course.  But now I want to
solve f == 0 mod 7, then I would naturally use

equation = [f==0]
solve_mod(equation, 7)

But this is bound to fail, since the list equation is simply
['false'].  How to turn the variable of the Polynomial ring into a
variable which I can solve for?

Cheers,
Konstantin

-- 
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