ASKSAGE: Sage Q&A Forum - Latest question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 06 Jan 2011 16:54:26 -0600Round trip through Mathematica's FullSimplifyhttps://ask.sagemath.org/question/7845/round-trip-through-mathematicas-fullsimplify/The following command returns 1:
<code>
mathematica(-2/(1 + sqrt(3)*I)).FullSimplify().sage()
</code>
The issue is that Mathematica simplifies this expression to (-1)/(2/3), which it considers to be defined in terms of the primitive root. Sage on the other hand converts (-1)/(2/3) to 1, with the idea that any root will do. My question: is it a bug that putting this equation into Mathematica and bringing it back to Sage changes it from a complex number to a real number?
dstahlkeThu, 06 Jan 2011 16:54:26 -0600https://ask.sagemath.org/question/7845/