Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #9952

Re: Integration Problem

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Integration Problem
Date 2012-05-04 10:26 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jo0asv$c9e$1@smc.vnet.net> (permalink)

Show all headers | View raw


On 5/3/12 at 4:34 AM, michael.musheghian@gmail.com (Michael
Musheghian) wrote:

>I found that evaluation of this 2 integrals yield a bit different
>result. What could be the reason?

>Integrate[E^(-1/10 ((1 + r2z)^2)), {r2z, -Infinity, Infinity}]

>Integrate[E^(-0.1 ((1 + r2z)^2)), {r2z, -Infinity, Infinity}]

The first gives an exact result, the second a numerical approximation. The 
small complex component of

In[2]:= Integrate[E^(-0.1 ((1 + r2z)^2)), {r2z, -Infinity, Infinity}]

Out[2]= 5.60499 -2.03152*10^-16 I

is the result of small errors introduced by imprecise values. Do

In[3]:= Chop@
 Integrate[E^(-0.1 ((1 + r2z)^2)), {r2z, -Infinity, Infinity}]

Out[3]= 5.60499

to get rid of it.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Integration Problem Bill Rowe <readnews@sbcglobal.net> - 2012-05-04 10:26 +0000

csiph-web