Re: Showing Intermidate steps
- Subject: [mg2919] Re: Showing Intermidate steps
- From: wfigueroa at mosquito.com (wilson figueroa)
- Date: 11 Jan 1996 09:45:58 -0600
- Approved: usenet@wri.com
- Distribution: local
- Newsgroups: wri.mathgroup
- Organization: Mosquito Net, Inc.
- Sender: mj at wri.com
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