Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If all parameters are positive, there are no problems:

a, z, q, r, R, s = var("a, z, q, r, R, s")

assume(a>0)

assume(R>0)

assume(r>0)

assume(s>0)

assume(z>0)

assume(q>0)

Ex = (4/(a^3)((zq^2)/r-(zq^2)/rexp(-s(r-R)))r^2exp(-2r/a))

%display latex

Im = integrate(Ex,(r,R,oo))

factor(Im)

If all parameters are positive, there are no problems:problems with integrate

a, z, q, r, R, s = var("a, z, q, r, R, s")

assume(a>0)

assume(R>0)

assume(r>0)

assume(s>0)

assume(z>0)

assume(q>0)

Ex = (4/(a^3)((zq^2)/r-(zq^2)/rexp(-s(r-R)))r^2exp(-2r/a))

%display latex

Im = integrate(Ex,(r,R,oo))

factor(Im)

If all parameters are positive, there are no problems with integrate

a, z, q, r, R, s = var("a, z, q, r, R, s")
assume(a>0);assume(R>0);assume(r>0) 
assume(s>0);assume(z>0);assume(q>0)
Ex = (4/(a^3)*((z*q^2)/r-(z*q^2)/r*exp(-s*(r-R)))*r^2*exp(-2*r/a))
Im = integrate(Ex,(r,R,oo))
factor(Im)