Re: Numerical integration
- To: mathgroup at smc.vnet.net
- Subject: [mg78803] Re: Numerical integration
- From: chuck009 <dmilioto at comcast.com>
- Date: Tue, 10 Jul 2007 06:26:05 -0400 (EDT)
I get:
In[8]:=
h[t_] := Exp[I*t]*(Exp[I*t] - 1)*
Sec[Exp[I*t] - 1]
NIntegrate[h[t], {t, 0, 2*Pi}]
Out[9]=
-9.869604401106042 +
5.748707065933445*^-12*I
>
> I detected a problem concerning numerical integration
> under Mathematica
> 5.1. Consider this function:
>
> h[t_] := Exp[I t](Exp[I t] - 1)Sec[Exp[I t] - 1]
>
> If I compute:
>
> N[Integrate[h[t], {t, 0, 2Pi}]]
>
> I get -3.58642.