Isn't this integral easier to do analytically? The poles are at +/-i. Write= cos(ax) as (Exp(iax)+Exp(-iax))/2. First part you have to complete the con= tour around the upper half plane, second part round the lower (or vice vers= a if a is negative - all assumes a is real). All of which gives integral a= s pi Exp(-Abs(a)), set a=1 and you get pi/e - as you say a pretty result! ________________________________________ From: firstname.lastname@example.org [email@example.com] On Behalf Of = Bayard Webb [firstname.lastname@example.org] Sent: Wednesday, September 30, 2009 9:59 AM Subject: Re: Incorrect symbolic improper integral
I think you need to add a as a coefficient of x everywhere, including the squared term.