Maxima can't do this integral???



I didn't get the query because I'd had an assume(kappa>0) elsewhere in
the code I was working on.   Running from a fresh maxima give:

(%i1) integrate(exp(-kappa*x)*sin(k*x),x,0,inf);
Is  kappa  positive, negative, or zero?

p;
                          inf
                         /
                         [      - kappa x
(%o1)                    I    %e          sin(k x) dx
                         ]
                         /
                          0
(%i2) build_info();

Maxima version: 5.18post
Maxima build date: 17:57 7/29/2009
host type: i686-pc-linux-gnu
lisp-implementation-type: CLISP
lisp-implementation-version: 2.48 (2009-07-28) (built 3457891814)
(memory 3457893454)

We're using different lisps.   

David

On Fri, 2009-08-07 at 12:00 -0500, Barton Willis wrote:
> (%i1) integrate(%e^(-kappa*r)*sin(k*r),r,0,inf);
> Is  kappa  positive, negative, or zero?pos;
> (%o1) k/(kappa^2+k^2)
> 
> (%i2) build_info();
> Maxima version: 5.18.1
> Maxima build date: 20:57 4/19/2009
> host type: i686-pc-mingw32
> lisp-implementation-type: GNU Common Lisp (GCL)
> lisp-implementation-version: GCL 2.6.8
> 
> Barton
> 
> -----maxima-bounces at math.utexas.edu wrote: -----
> 
> >I've got a trivial integral that maxima doesn't seem to be able to do;
> >I'm having trouble believing this.  Can someone confirm?
> >
> > integrate(%e^(-kappa*r)*sin(k*r),r,0,inf);
> >
> >(kappa>0) I get the integral form when I do this.
> >
> >(The answer is k/(k^2+kappa^2))
> >
> >
> >David
>