On 23 January 2013 17:43, Santanu Sarkar <[email protected]> wrote:
> R=Integers(30)['X']
> f1=X-10
> f2=X-30
> print f1*f2

Your code does not work at all since you never assign a value to X.
This does work as expected:
sage: R.<X>=Integers(30)[]
sage: f1=X-10
sage: f2=X-30
sage: print f1*f2
X^2 + 20*X

John Cremona

-- 
You received this message because you are subscribed to the Google Groups 
"sage-support" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/sage-support?hl=en.


Reply via email to