That is just my 2 cents worth. Other people may want to be reminded of the
special case n=m but not me. They may even think it a bug if they are not
asked about this.
Rich
----- Original Message -----
From: "Richard Hennessy" <rvh2007 at comcast.net>
To: "Richard Hennessy" <rvh2007 at comcast.net>; "Edwin Woollett"
<woollett at charter.net>; "maxima mailing list" <maxima at math.utexas.edu>
Sent: Wednesday, September 10, 2008 10:52 AM
Subject: Re: [Maxima] integrate returns undefined
>I meant I think the answer should be 0 not %pi. Unless you say
>assume(n=m);
>
>
> ----- Original Message -----
> From: "Richard Hennessy" <rvh2007 at comcast.net>
> To: "Edwin Woollett" <woollett at charter.net>; "maxima mailing list"
> <maxima at math.utexas.edu>
> Sent: Wednesday, September 10, 2008 10:35 AM
> Subject: Re: [Maxima] integrate returns undefined
>
>
>> In this case I don't think Maxima should ask anything. The answer should
>> be
>> %pi.
>>
>> Rich
>>
>> ----- Original Message -----
>> From: "Edwin Woollett" <woollett at charter.net>
>> To: "maxima mailing list" <maxima at math.utexas.edu>
>> Sent: Tuesday, September 09, 2008 3:15 PM
>> Subject: integrate returns undefined
>>
>>
>>> integrate(..) returns undefined when it
>>> should know the answer.
>>>
>>> (%i1) declare( [ m, n ], integer )$
>>> (%i2) assume ( m > 0, n > 0 )$
>>> (%i3) integrate( cos(m*x)^2, x, 0, 2*%pi );
>>> (%o3) %pi
>>> (%i4) integrate( cos(m*x)*cos(n*x), x, 0, 2*%pi );
>>> Is n - m positive, negative, or zero?
>>>
>>> zero;
>>> (%o4) undefined
>>>
>>> Is this a known bug?
>>>
>>> Ted Woollett
>>>
>>> _______________________________________________
>>> Maxima mailing list
>>> Maxima at math.utexas.edu
>>> http://www.math.utexas.edu/mailman/listinfo/maxima
>>
>> _______________________________________________
>> Maxima mailing list
>> Maxima at math.utexas.edu
>> http://www.math.utexas.edu/mailman/listinfo/maxima
>