Re: Simplifying algebraic expr: howto?
- To: mathgroup@smc.vnet.net
- Subject: [mg11411] Re: [mg11370] Simplifying algebraic expr: howto?
- From: Hugh Walker <hwalker@gvtc.com>
- Date: Thu, 12 Mar 1998 01:32:14 -0500
"Daniel G. Hyams" <dgh2@Ra.MsState.EDU> asks > >I have an expression (for example): > >u*(nx*u + ny*v) ---- (1) > >and a definition: > >theta = nx*u+ny*v > >How do I get mathematica to simplify the expression (1) such that it >returns: > >u*theta ? > Is this what you mean? thetaRule = nx*u+ny*v->theta u*(nx*u + ny*v)/.thetaRule Cheers! Hugh Walker Gnarly Oaks