Re: Intermediate computational results

*To*: mathgroup at smc.vnet.net*Subject*: [mg95389] Re: [mg95349] Intermediate computational results*From*: Richard Hofler <rhofler at bus.ucf.edu>*Date*: Sat, 17 Jan 2009 05:30:00 -0500 (EST)*References*: <200901161109.GAA14124@smc.vnet.net>

Perhaps Trace does what you want. In[2]:= Trace[A=B+C*D /.{B->10,C->11,D->12}] Out[2]= {{B+C D/.{B->10,C->11,D->12},10+11 12,{11 12,132},10+132,142},A=142,142} Richard Hofler Professor Department of Economics -----Original Message----- From: TL [mailto:latev at shaw.ca] Sent: Friday, January 16, 2009 6:09 AM To: mathgroup at smc.vnet.net Subject: [mg95389] [mg95349] Intermediate computational results I have a mathematical expression and I have to demonstrate a real world example - an actual computation using the formula. For that purpose I'd like to show all intermediate steps, not just the final result. Is there a way to tell Mathematica to do one step at a time and not just show the final result? For example A=B+CD B=10 C=11 D=12 A=10+11x12=10+132=142 In other words I wouldn't like to type in all the equations with the exact numerical values.

**References**:**Intermediate computational results***From:*TL <latev@shaw.ca>