Loďc a écrit :
Hello list,
Version: sage 4.6.1
I'm quite a newbie with Sage but I'm really impressed this powerful
software.
Since an hour, I'm on a stupid problem:
sage: sqrt(2)*sqrt(3)
sqrt(2)*sqrt(3)
sage: sqrt(2)*sqrt(3)-sqrt(6)
sqrt(2)*sqrt(3)-sqrt(6)
Test :
sage (sqrt(6)).radical_simplify()
sage (sqrt(6)-sqrt(2)*sqrt(3)).radical_simplify()
and get sqrt(2)*sqrt(3) and 0.
The *.radical_simplify() method is always fine if the result is 0, and
(I'm not sure, integers)
But this radical_simplify() can't be fine in every case .
IT's maybe possible to have
1/ y1=y2 (for the mathematical sens)
2/ y1 != y2 (the formula aren't the same)
3/ y1.radical_simplify() != y2.radical_simplify()
4/ (y1-y2).radical_simplify() == 0 [from 1]
F.
--
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