Re: rectform strange question
Edwin Woollett <woollett <at> charter.net>
2011-11-01 20:19:02 GMT
On Nov. 1, 2011, I wrote:
--------------------------
>debug printouts now show this question
>comes from rectform:
>
>(%i2) rectform(%i*bessel_i(0,%i*inf));
>Is 1 zero or nonzero?
>
>nonzero;
>(%o2) %i*bessel_i(0,%i*inf)
-------------------------------------
This doesn't happen if I use limit inside the
code, which replaces %i*inf by infinity.
-------------------------------------
(%i7) load(temp);
(%o7) "c:/work2/temp.mac"
(%i8) nint_integrate(bessel_i(1,%i*x),x,1,inf);
vx = %i*bessel_i(0,%i*x)
vxop = "*"
vxa = %i*bessel_i(0,%i)
vxa = 0.76519768655797*%i
vxb = %i*bessel_i(0,infinity)
vxb = %i*'realpart(bessel_i(0.0,infinity))
-1.0*'imagpart(bessel_i(0.0,infinity))
(Continue reading)