Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #9952 > unrolled thread
| Started by | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| First post | 2012-05-04 10:26 +0000 |
| Last post | 2012-05-04 10:26 +0000 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.soft-sys.math.mathematica
Re: Integration Problem Bill Rowe <readnews@sbcglobal.net> - 2012-05-04 10:26 +0000
| From | Bill Rowe <readnews@sbcglobal.net> |
|---|---|
| Date | 2012-05-04 10:26 +0000 |
| Subject | Re: Integration Problem |
| Message-ID | <jo0asv$c9e$1@smc.vnet.net> |
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 top | Article view | comp.soft-sys.math.mathematica
csiph-web