MathGroup Archive 1995

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

Search the Archive

Log[E[n]]

  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg2003] Log[E[n]]
  • From: hines <hines at bonnie.drea.dnd.ca>
  • Date: Thu, 14 Sep 1995 23:26:43 -0400
  • Organization: DREA

I'm trying to use the Collect[] function to collect terms in the exponent of an 
expression, which Mathematica has output in the form

 term = Power[E,exponent].

It seemed to me (rightly or wrongly) that the easiest way to do this was to take the 
natural log of my variable "term" thereby returning "exponent".  i.e.

temp=Log[term]

Then, I could:

temp1=Collect[term, collection_variable]
temp2=E[temp1]

and temp2 would equal term but my exponent would be grouped the way I wanted.  Instead, 
it appears that temp is returned unevaluated.  The code is shown below.

In[109]:=
term=Power[E,exponent]
temp=Log[term]

Out[109]=
 exponent
E
Out[110]=
     exponent
Log[E        ]

My question is twofold, (a) why won't mathematica output exponent when I take natural 
log of E^exponent and (b) is there a better way to Collect terms in an exponent.
Thanks to anyone who can help.
																																											Paul Hines




  • Prev by Date: Re: interchanging elements in a list
  • Next by Date: Mathematica Sound to Quicktime
  • Previous by thread: Is there a way of declaring a variable REAL?
  • Next by thread: Mathematica Sound to Quicktime