Gausian bug maybe?



I guess it is not a bug.  I am suprised it can do it at all.

R
----- Original Message ----- 
From: "Richard Hennessy" <rvh2007 at comcast.net>
To: "Richard Hennessy" <rvh2007 at comcast.net>; "Maxima List" <maxima at math.utexas.edu>
Sent: Thursday, October 09, 2008 6:43 AM
Subject: Re: [Maxima] Gausian bug maybe?


Actually the questions end sometimes but the same questions are asked many times over.


----- Original Message ----- 
From: "Richard Hennessy" <rvh2007 at comcast.net>
To: "Maxima List" <maxima at math.utexas.edu>
Sent: Thursday, October 09, 2008 6:29 AM
Subject: Gausian bug maybe?


Try
(%i3) f(x):=%e^((-x^2)/(4*%sigma^2))/(2^(1/4)*%pi^(1/4)*sqrt(%sigma))$
(%i4) integrate(x*f(x^2-4),x,minf,inf);
(eq4) 0
(%i5) integrate(x^2*f(x^3-4),x,minf,inf);
(eq5) (2*%pi^(1/4)*sqrt(%sigma))/(3*2^(1/4))
(%i6) integrate((2*x-1)*f(x^5),x,minf,inf);
(eq6) -gamma(1/10)/(5*2^(1/20)*%pi^(1/4)*%sigma^(3/10))

I think this is right above but when the exponent is n you get an unending sequence of questions as long as you don't 
answer no to any of them.


(%i17) integrate((2*x-1)*f(x^n),x,minf,inf);
Is 2*n an integer?y;
Is 2*n an even number?y;
Is 2*n an even number?y;
Is 2*n+1 an even number?y;
Is 2*n+1 an even number?y;
Is  n-1  positive, negative, or zero?p;
Is 2*n-2 an even number?y;
Is 2*n-2 an even number?y;
Is 2*n-1 an even number?y;
Is 2*n-1 an even number?y;
Is 2*n an even number?y;
Is 2*n an even number?y;
Is 2*n+1 an even number?y;
Is 2*n+1 an even number?y;
Is 2*n-1 an even number?y;
Is 2*n-1 an even number?y;
Is n an integer?


_______________________________________________
Maxima mailing list
Maxima at math.utexas.edu
http://www.math.utexas.edu/mailman/listinfo/maxima