Regardless of the discussion here, the behavior in SAGE is tied to Maxima
for now.
As an aside, you no longer have to explicitly invoke Maxima. The following
is valid as of SAGE 2.5:
sage: eqn = abs(x^2 - x) == 3
sage: solve(eq, x)
....
Note that we are planning on improving SAGE's equation solving at some
point. We will have to come up with a plan for dealing with cases like this,
where the question is not well-defined. Perhaps some way to assume(x in
RR)...
~Bobby
On 5/30/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
>
> I was doing some basic algebra with sage and encountered another
> curiosity. I wish to solve for x in:
>
> |x^2-x| = 3
>
> My naive attempt in sage wasn't so fruitful
>
> sage: eqn = maxima('abs(x^2-x)=3')
> sage: eqn.solve('x')
> [abs(x^2 - x) = 3]
>
> Although, the subproblems are easy enough:
>
> sage: eqn = maxima('x^2-x=-3')
> sage: eqn.solve('x')
> [x = - (sqrt(11)*%i - 1)/2,x = (sqrt(11)*%i + 1)/2]
> sage: eqn = maxima('x^2-x=3')
> sage: eqn.solve('x')
> [x = - (sqrt(13) - 1)/2,x = (sqrt(13) + 1)/2]
>
> How should such a difficulty be attacked? Is this a deficiency of
> maxima?
>
> -carson-
>
> PS: Thanks for the helpful discussion of methods for computing the
> conjugate tranpose of matrices.
>
>
> >
>
--
Bobby Moretti
[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-forum
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---