MathGroup Archive 2010

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

Search the Archive

Re: Finding an exponent?


Am 10.09.2010 10:50, schrieb AES:
> Given  Exp[ expr ]  where   expr  is some complex expression in Standard 
> form, how can I get  expr  itself in an Input cell?   (Preferably 
> unevaluated, and other than using manual Copy and Paste).
> 
> Log[Exp[expr]] doesn't seem to do it.
> 

Is that what you want?

expr = Exp[a + b^Log[10]];
CellPrint[TextCell[Replace[expr, Exp[e_] :> e], "Input"]]

hth,

albert


  • Prev by Date: Re: String-to-Number Conversion Precision
  • Next by Date: Re: Help with Solve
  • Previous by thread: Finding an exponent?
  • Next by thread: Re: Finding an exponent?