>
> ---------- Forwarded message ----------
> From: Alan <[email protected]>
> Date: May 26, 11:44 pm
> Subject: Solving equations involving exp, Maxima
> To: sage-devel
>
> Hello,
> I have 2 questions:
>
> 1. Why do the following equations give different answers?
> sage: solve([exp(x)==exp(0)],x)
> [x == 0]
> sage: solve([exp(x)==exp(-x)],x)
> [x == I*pi, x == 0]
> sage: solve([exp(x+1)==exp(-x+1)],x)
> [e^(x + 1) == e^(-x + 1)]
>

The first two ask different things.  For the last one, I'm not sure
why it's not giving the same answer as the second equation.

> 2. Is there any way to make 'solve' recognize "obvious" solutions. For
> example,
> sage: solve([x==exp(-x+1)],x)
> [x == e^(-x + 1)]
>

It probably should, though

find_root(x-exp(1-x),-100,100)

works.  That may not be good enough for your needs, and it seems like
it probably shouldn't be necessary.

Zach

-- 
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

Reply via email to