Paul Smith wrote:
> On 10/28/07, Doug Stewart <dastew at sympatico.ca> wrote:
>
>> It works in 5.11.0
>> 3
>> cos (x)
>> (%i1) integrate(-------, x, 1, 2)
>> 4
>> sin (x)
>>
>>
>> 1 1 1 1
>> (%o1) ------ - --------- - ------ + ---------
>> sin(2) 3 sin(1) 3
>> 3 sin (2) 3 sin (1)
>>
>> Doug
>>
>>
>> Mario Rodriguez wrote:
>>
>>> This is what I get with current cvs maxima:
>>>
>>>
>>>
>>> (%i12) integrate(cos(x)^3/sin(x)^4,x);
>>> (%o12) (3*sin(x)^2-1)/(3*sin(x)^3) ====> ok
>>> (%i13) integrate(cos(x)^3/sin(x)^4,x,1,2);
>>> Integral is divergent
>>> -- an error. To debug this try debugmode(true);
>>>
>>>
>>> I'm sure maxima could calculate the definite integral above in the past.
>>> This output is from a document I wrote about one year ago:
>>>
>>> (%i28) integrate(cos(x)^3/sin(x)^4,x,1,2);
>>> 1 1 1 1
>>> (%o28) ------ - --------- - ------ + ---------
>>> sin(2) 3 sin(1) 3
>>> 3 sin (2) 3 sin (1)
>>>
>>>
>
> But not in 5.13.0:
>
> (%i1) integrate(cos(x)^3/sin(x)^4,x,1,2);
>
> Integral is divergent
> -- an error. To debug this try debugmode(true);
> (%i2)
>
> Paul
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
>
It works in 5.12.0:
(%i3) integrate(cos(x)^3/sin(x)^4,x);
Evaluation took 0.002 seconds (0.001 elapsed) using 28.000 KB.
2
3 sin (x) - 1
(%o3) -------------
3
3 sin (x)
(%i4) integrate(cos(x)^3/sin(x)^4,x,1,2);
Evaluation took 0.02 seconds (0.02 elapsed) using 343.805 KB.
1 1 1 1
(%o4) ------ - --------- - ------ + ---------
sin(2) 3 sin(1) 3
3 sin (2) 3 sin (1)
(%i5)