Studying the integral bug discussed in Axel Vogt's blog, I met the following,

residue(arctan(z)^2/(1+z^2),z=I);

                                 1/2      1/2 2
                                2    (z I)
                       1/2 I ln(-------------)
                                      2

Not talking whether the residue has sense in this case, or not, having z in the answer is very wrong.

Alec


Please Wait...