MathGroup Archive 2005

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

Search the Archive

Re: Integrate problem?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg62128] Re: [mg62090] Integrate problem?
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Sat, 12 Nov 2005 03:31:34 -0500 (EST)
  • Reply-to: hanlonr at cox.net
  • Sender: owner-wri-mathgroup at wolfram.com

Presumably your p is Pi

$Version

5.2 for Mac OS X (June 20, 2005)

Integrate[Sin[t]Sign[Sin[.999t]],{t,0,2Pi}]

3.999990110634892

Integrate[Sin[t]Sign[Sin[999t/1000]],{t,0,2Pi}]

-2*(-1 + Cos[(1000*Pi)/999])

%//N

3.999990110634892

NIntegrate[Sin[t]Sign[Sin[.999t]],{t,0,2Pi}]

3.999990110634892


Bob Hanlon

> 
> From: "Martin Manscher" <mm01 at danfoss.com>
To: mathgroup at smc.vnet.net
> Date: 2005/11/11 Fri AM 02:51:53 EST
> Subject: [mg62128] [mg62090] Integrate problem?
> 
> 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
> 
> 


  • Prev by Date: Re: feature request: invert plot axes
  • Next by Date: Types in Mathematica
  • Previous by thread: Re: Integrate problem?
  • Next by thread: Re: Integrate problem?