Problem with integral



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