MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Integrate problem?


Martin Manscher wrote:
> In[48]:=
> Integrate[Sin[t]Sign[Sin[.999t]],{t,0,2p}]
> 
> Out[48]=
> 2. - 1.91585*10^-14 I
> 
> In[49]:=
> NIntegrate[Sin[t]Sign[Sin[.999t]],{t,0,2p}]
> 
> Out[49]=
> 4.
> 
> Why?
> /Martin
> 
Hi Martin,

What version and platform are you using?

Assuming that 2p stands for 2Pi

In[1]:=
Integrate[Sin[t]*Sign[Sin[0.999*t]], {t, 0, 2*Pi}]

Out[1]=
3.99999

In[2]:=
NIntegrate[Sin[t]*Sign[Sin[0.999*t]], {t, 0, 2*Pi}]

Out[2]=
3.99999

In[3]:=
$Version

Out[3]=
5.2 for Microsoft Windows (June 20, 2005)

Best regards,
/J.M.


  • Prev by Date: Re: Question about passages
  • Next by Date: extract from list and keep track
  • Previous by thread: Re: Integrate problem?
  • Next by thread: Re: Integrate problem?