MathGroup Archive 1996

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

Search the Archive

Re: Showing Intermidate steps


Leung Hing Chau,

Hello, 

I responded earlier with PowerExpand[expression],

but you could also do the following:

log[(x_)^n_] := n*log[x]

log[x_ y_] := log[x] + log[y]

Now, 

Trace[log[x^2*y*z],log] will show all intermediate
steps.  Of course you will define all of the rules
for logarithms.  Note the lower case in log since I don't
want to redefine Mathematica's rules (although this
wouldn't hurt anything).

Hope this solves your problem.

Wilson Figueroa

wfiguero at mosquito.com





  • Prev by Date: Plotting multivalued functions
  • Next by Date: Apology
  • Previous by thread: Re: Showing Intermidate steps
  • Next by thread: volumes of solids of revolution