starange "limit" behaviour



>>>>> "Jaroslaw" == aw Piskorski <Jaros> writes:

    Jaroslaw> Hi all!
    Jaroslaw> Maxima seems to be unable to calculate the following limit with the "limit"
    Jaroslaw> function

    Jaroslaw> limit(7^n/8^n,n,inf);

    Jaroslaw> and returns the limit unevaluated.

    Jaroslaw> If I use the "tlimit" function I get the correct result

    Jaroslaw> limit(7^n/8^n,n,inf);

    Jaroslaw> 0

    Jaroslaw> but if the same function is used on the following limit, an incorrect answer
    Jaroslaw> is returned

    Jaroslaw> tlimit(7^(n^2)/8^n,n,inf)

    Jaroslaw> minf

FWIW, if we replace both of these by writing them in exponential form,
the limits are computed correctly:

limit(%e^(n*log(7))/%e^(n*log(8)),n,inf) => 0

limit(%e^(n*n*log(7))/%e^(n*log(8)),n,inf) => INF

That might be a useful general heuristic to try.

Ray