Actually, I'm not sure if Maxima has a different function for the negapolygamma (of order -2 in my case), so I just assumed I could use the balanced polygamma function bfpsi in Maxima.

On Wed, Jun 4, 2014 at 12:09 PM, Raymond Toy wrote:
>>>>> "James" == James Hozier <j6453h4h335h@gmail.com> writes:

James> I am trying to do: limit(1 / n^2 * integrate(bfpsi(-2,x+1,16) * (sin((2n - 1)*x) / sin(x))^3, x, 0,
James> %pi / 2), n, inf);

James> But I get a bunch of syntax errors, presumably because I'm trying to put an integral inside a
James> limit. For ease of visibility, here in LaTeX typeset is what the problem should appear as:
James> http://i.imgur.com/vjzIp5f.gif

Several things are wrong here. 2n should be written 2*n. And based on
the image, I think bfpsi(-2,x+1,16) is not what you want. I think the
image says 1/psi(x+1)^2.

In any case, I suspect maxima can't do the limit because maxima can't
figure out what the integral looks like.

Ray

------------------------------------------------------------------------------