Dear all,

How can I get sage to solve a simple equation such as the one below?

----------------------------------------------------------------------
| Sage Version 4.0.2, Release Date: 2009-06-18                       |
| Type notebook() for the GUI, and license() for information.        |
----------------------------------------------------------------------
sage: var('x y n')
(x, y, n)
sage: solve(y == x^n,x)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call
last)
[...]
TypeError: Computation failed since Maxima requested additional
constraints (try the command 'assume(>0)' before integral or limit
evaluation, for example):
Is n an integer?

MMA solves similar equation using inverse functions and spits out a
warning, no matter whether n is an integer or not. I thought that
Maxima would do the same as stated in the docu.

Here is an excerpt from the Maxima 5_15 docu:

"Let E be the expression and X be the variable. If E is linear in X
then it is trivially solved for X. Otherwise if E is of the form A*X^N
+ B then the result is (-B/A)^1/N) times the N'th roots of unity."

Is this a problem with the sage->maxima interface? I also wanted to
try Sympy as suggested in another post, but Sympy does not seem to be
included in the new version of sage any more. Am I misunderstanding
something?

Thanks for your help!

Stan

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to