MathGroup Archive 2005

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

Search the Archive

Re: Integrate problem?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62114] Re: Integrate problem?
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at gmail.com>
  • Date: Sat, 12 Nov 2005 03:31:11 -0500 (EST)
  • Organization: The Open University, Milton Keynes, UK
  • References: <dl1j6h$t54$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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?