integrate question: is %pi/2 an integer?



Is this basically the same as http://sourceforge.net/p/maxima/bugs/2501/ ?


>
> Message: 4
> Date: Tue, 27 Nov 2012 15:44:06 -0800
> From: "Edwin Woollett" <woollett at charter.net>
> To: "maxima mailing list" <maxima at math.utexas.edu>
> Subject: integrate question: is %pi/2 an integer?
> Message-ID: <91127AE4DAC04140A51B09EC4DABC729 at edwinc367e16bd>
> Content-Type: text/plain; format=flowed; charset="iso-8859-1";
>         reply-type=original
>
> I know integrate needs to get information, but...
> -------------------------------------
> (%i22) integrate(log(cos(x)),x,0,%pi/2);
> Is %pi/2 an ?integer?
>
> n;
> Is %pi/4 an ?integer?
>
> n;
> Is 2*%pi an ?integer?
>
> n;
> Is 4*%pi an ?integer?
>
> n;
> (%o22) %i*%pi^2/24-(6*%pi*log(4)+%i*%pi^2)/24
>
> (%i23) ratsimp(%);
> (%o23) -%pi*log(4)/4
>
> (%i24) float(%);
> (%o24) -1.088793045151801
>
> (%i25) quad(log(cos(x)),x,0,%pi/2);
> (%o25) -1.088793045151803
> --------------------------
> In the above we get ?integer? instead of
> integer? because display2d is false.
>
> quad is a function in nint package, ch. 8.
>
> Ted
>