integral bug?



Jean-Claude Arbaut <arbautjc at gmail.com> writes:
> I was playing with a problem on math.stackexchange.com, and I found this in
> Maxima:
>
>> integrate(cos(1/3*exp(-%i*theta)),theta,0,2*%pi);
>> 0
>
> WolframAlpha gives me 2*%pi, and it seems obvious that it can't be null
> anyway. Any hint to have the computation done right with Maxima ?

Er, cos is analytic, as is exp so you are integrating an analytic
function around a closed loop (unless I've missed something
obvious). Why are you so sure that this should give you a nonzero
answer?

Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130331/e1c3b746/attachment.pgp>;