MathGroup Archive 2003

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

Search the Archive

Re: Abs help

  • To: mathgroup at smc.vnet.net
  • Subject: [mg41974] Re: Abs help
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Mon, 16 Jun 2003 03:56:19 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <bc7on7$6bt$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

FullSimplify[Abs[ExpToTrig[y]]^2, Element[x, Reals]]

Regards
  Jens

Rex_chaos wrote:
> 
> hi all,
>   Here is a expr
>     y=Exp[I*x]+1;
>   where x is REAL. I would like to take the absolute value of y
> 
>   However, it gives
> 
>   In[1]:=Abs[ExpToTrig[y]]^2
>   Out[1]=Abs[1 + Cos[2 x] + \[ImaginaryI] Sin[2 x]]^2
> 
>   How can I get the result Sin[2 x]^2 + (1+Cos[2 x])^2 ?
> 
>   How to tell mathematica x is REAL?
> 
> Thanks.


  • Prev by Date: Re: Averaging
  • Next by Date: Re: System of ODE
  • Previous by thread: Abs help
  • Next by thread: Re: Abs help