a limit in Maxima



I'd think you could use the truncated asymptotic expansion here.  Define

       *gg(x):=x^x*%e^-x*sqrt(2*%pi*x);

*then calculate

*        limit (gg((x+1)/2)/(sqrt(x)*gg(x/2)),x,inf)

*getting 1/sqrt(2) as expected.

           -s


On Nov 24, 2007 3:03 PM, David Joyner <wdjoyner at gmail.com> wrote:

> A very low-priority question: Out of curiousity,
> a friend asked if Maxima could compute the limit
> limit (gamma ((x+1)/2)/(sqrt(x)*gamma (x/2)),x,inf)
> (I believe that the answer should be 1/sqrt(2)).
>