sums of irrationals are unknown
>>> (sqrt(2)+sqrt(3)).is_rational
>>> (sqrt(3)+sqrt(5)).is_rational
2*irrational is irrational
>>> (sqrt(3)+sqrt(3)).is_rational
False
When irrationals cancel, a rational remains
>>> ((2-sqrt(2))+sqrt(2)).is_rational
True
--
You received this message because you are subscribed to the Google Groups
"sympy" group.
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/sympy?hl=en.