integration error



On 10/30/10 7:14 PM, Bruno Torremans wrote:
> Hello
>
> I came upon some strange integration results :
>
> (%i1) integrate(cos(2*x)*cos(x),x);
> (%o1) -cos(3*x)/6-cos(x)/2
> (%i2) ev(%,x=2),numer;
> (%o2) 0.048045037165177
Ah, this is totally wrong.  I see what the problem is and will be
checking in a fix soon.  With the fix, maxima will now return
sin(x)/2+sin(3*x)/6.  The derivative of this matches the integrand.

Thanks for the bug report.

Ray