On Dec 5, 4:56 pm, kcrisman <kcris...@gmail.com> wrote:
> So it sounds like you should file a ticket, Dan.  Maybe we're just
> sending it to Maxima wrong.
>
> (%i9) f(z):=(z-%i)*(z-1)^2/(z-(-1/2-%i/3));
>                                                    2
>                                    (z - %i) (z - 1)
> (%o9)                      f(z) := -----------------
>                                          - 1   %i
>                                     z - (--- - --)
>                                           2    3
> (%i14) display2d:false;
>
> (%o14) false
> (%i15) integrate(f(-1/2-%i/3+exp(%i*t))*%i*exp(%i*t),t,0,2*%pi);
>
> (%o15) %i*((4*%i-13)/3-((724*%i-57)*%pi+144*%i-468)/108)
>
> (%i17) rectform(%i*((4*%i-13)/3-((724*%i-57)*%pi+144*%i-468)/108));
>
> (%o17) (724*%pi+144)/108+%i*(-(-57*%pi-468)/108-13/3)-4/3
>
> Is this right?

Applying expand(ratsimp( )); to your %o15 one can obtain Dan's result.

The problem is that the integral should not depend on the center of
the circle
containing the pole. It looks like maxima bug (?)

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to