Warnings for arctrig vs. log



Yes, omitted the %i :

solve(exp(%i*x)-1);
   => [x = 0]

That said, we do also simplify log(1)=>0 with no warning, not
2*%i*%pi*<integer>

          -s

On Tue, Jun 21, 2011 at 13:13, Raymond Toy <toy.raymond at gmail.com> wrote:

> >>>>> "Stavros" == Stavros Macrakis <macrakis at alum.mit.edu> writes:
>
>    Stavros> solve(sin(x)) helpfully says
>
>
>
>    Stavros>                     solve: using arc-trig functions to get a
> solution.
>    Stavros>                Some solutions will be lost.
>
>
>
>    Stavros> However, solve(exp(x)-1) does not, but silently omits the
> nonzero solutions 2*%pi*%z999.
>
> I assume you left off the %i.  Otherwise, I don't know what you're
> getting at.
>
>    Stavros> Should we fix this?
>
> From a high school student's point of view, the arc-trig warning is
> important, but less so for exp, since there's only one real root,
> unlike the arc-trig functions.
>
> For completeness, we probably should at least warn.
>
> Ray
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>