Re: ComplexExpand
- To: mathgroup at smc.vnet.net
- Subject: [mg5319] Re: [mg5302] ComplexExpand
- From: Allan Hayes <hay at haystack>
- Date: Wed, 27 Nov 1996 01:47:36 -0500
- Sender: owner-wri-mathgroup at wolfram.com
neely at biomath.mdacc.tmc.edu (E. Neely Atkinson) >Subject: [mg5302] ComplexExpand >Can anyone explain to me why the following two >examples behave differently? Thanks. > In[1]:= ComplexExpand[Log[1 / E^x]] > Out[1]= -x > > In[2]:= ComplexExpand[Log[1 / (2 E^x)]] > 1 > Out[2]= Log[----] > x > 2 E Whatever the reason, Version 3.0 gives ComplexExpand[Log[1/E^x]] ComplexExpand[Log[1/(2 E^x)]] Allan Hayes hay at haystack.demon.co.uk http://www.haystack.demon.co.uk