I am considering the real case of |x^2-x| = 3
(indeed, paper is far better for such simple things).
However if I use Mathematica I get the following behavior:
Solve[Abs[x^2-x]==3]
{{x -> (1 - I*Sqrt[11])/2}, {x -> (1 + I*Sqrt[11])/2}, {x -> (1 -
Sqrt[13])/2}, {x -> (1 + Sqrt[13])/2}}
And if I use MATLAB's computer algebra system I get this sort of
behavior:
>> solve('abs(x^2-x)=3',x)
ans =
1/2+1/2*i*11^(1/2)
1/2-1/2*i*11^(1/2)
1/2+1/2*13^(1/2)
1/2-1/2*13^(1/2)
Whereas sage/maxima leaves users with an unsimplified statement:
sage: eqn = maxima('abs(x^2-x)=3')
sage: eqn.solve('x')
[abs(x^2 - x) = 3]
I was hoping to find a method in sage to produce a result somewhat
closer to the other system's simplifications.
Thanks much,
-carson-
--~--~---------~--~----~------------~-------~--~----~
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-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---