MathGroup Archive 2007

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

Search the Archive

Re: Logical evaluation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg82326] Re: Logical evaluation
  • From: Bill Rowe <readnewsciv at sbcglobal.net>
  • Date: Wed, 17 Oct 2007 04:14:39 -0400 (EDT)

On 10/16/07 at 3:27 AM, mmandelberg at comcast.net (Michael Mandelberg)
wrote:

>I can't figure out why the following does not evaulate to TRUE:

>In[100]:= \[ExponentialE]^(-\[ImaginaryI] x) + \[ExponentialE]^(\
>\[ImaginaryI] x) == 2 TrigToExp[Cos[x]]

>Out[100]= \[ExponentialE]^(-\[ImaginaryI] x) + \[ExponentialE]^(\
>\[ImaginaryI] x) ==
>2 (\[ExponentialE]^(-\[ImaginaryI] x)/ 2 +
>\[ExponentialE]^(\[ImaginaryI] x)/2)

>Any ideas?

Use Simplify, i.e.,

In[9]:= E^((-I)*x) + E^(I*x) == 2*TrigToExp[Cos[x]] // Simplify

Out[9]= True

Also, converting expressions to InputForm before pasting them
into email makes them much more readable and easier to respond to.
--
To reply via email subtract one hundred and four


  • Prev by Date: Re: Integrate question
  • Next by Date: Re: Logical evaluation
  • Previous by thread: Re: Logical evaluation
  • Next by thread: Re: Logical evaluation