MathGroup Archive 1998

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

Search the Archive

Re: Simplifying algebraic expr: howto?



"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




  • Prev by Date: sound in math2.2
  • Next by Date: RE: making MatrixForm[] defaul
  • Prev by thread: Re: Re: Simplifying algebraic expr: howto?
  • Next by thread: Re: Simplifying algebraic expr: howto?