Hi

I am having difficulty understanding the following:

R.<x> = QQ['x']; ((x+sqrt(2))*(x+sqrt(3))).expand()

This gives

        

x^2 + sqrt(2)*x + sqrt(3)*x + sqrt(2)*sqrt(3)


but how can this be right?  My understanding was that 'x' was the indeterminate
of the ring of polynomials over QQ, i.e. the rationals.  So how come
the polynomial
has coefficients which are not rational?




-- 
Robin Hankin
Uncertainty Analyst
[email protected]

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