Interestingly, taylor (in 5.19.2) does not do a good job on this either.
taylor( expr, x, 0, 3) gives 0+... (which should mean 0 + O(x^4) ); but
taylor( expr, x, 0, 4) gives 5/7-163*x^2/245+86603*x^4/205800.
Presumably taylor is not calculating with enough terms in intermediate
expressions to give the correct result in the end -- it is supposed to be
able to do this.
-s
On Thu, Dec 10, 2009 at 3:57 AM, Jaime Villate <villate at fe.up.pt> wrote:
> Hi,
> as someone reported yesterday in the Spanish Maxima list, the following
> limit is not working:
> limit( (log(1+x^2)-2+2*cos(x))/((sin(x))^2+2*sqrt(1-x^2)-2),x,0);
>
> In version 5.19.0 it used to give the wrong result "minf". Now in
> version 5.20.0 Maxima gets stuck and does not return anything.
> It is easy to see that the correct result is 5/7.
>
> Regards,
> Jaime
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>