MathGroup Archive 2003

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

Search the Archive

Re: Integrating Abs[Sin[]^2]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg38908] Re: Integrating Abs[Sin[]^2]
  • From: Marian Otremba <marianUSUN at zeus.polsl.gliwice.pl>
  • Date: Sat, 18 Jan 2003 00:38:38 -0500 (EST)
  • References: <b032m9$mv4$1@smc.vnet.net> <b05r8a$2b6$1@smc.vnet.net> <b08ld1$7o5$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"David W. Cantrell" wrote:
> 
> >   In[1]:=  result = Integrate[ Abs[Sin[k x]]^2, {x,0,1},
> > Assumption->{Im[k]>0}] (* !! *)
> >            N[ result /. k->I+1 ]
> >   Out[2]:= 0.67391
> 
> Strange. That doesn't work for me (using version 4.2 for Windows).

 I'm sorry. Not 'Assumption' but 'Assumptions'

  result = Integrate[ y, {x,0,1},Assumptions->{Im[k]>0}]
  N[ result /. k->I+1 

  Out[2]=0.679391

  This work using version 3.0 for Windows
-- 

  marian otremba


  • Prev by Date: OO System for Mathematica
  • Next by Date: Remultiple plots on same graph
  • Previous by thread: Re: Integrating Abs[Sin[]^2]
  • Next by thread: Re: Integrating Abs[Sin[]^2]