Re: Algebraic substitutions. HOW?
- To: mathgroup at smc.vnet.net
- Subject: [mg17673] Re: Algebraic substitutions. HOW?
- From: hidekazu at aqua.biwako.ne.jp (Hidekazu Takahashi)
- Date: Fri, 21 May 1999 23:58:55 -0400
- Organization: Biwako Internet News server
- References: <7i35a6$bfd@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Alessio,
AlgebraicRules may help you. Please try
a^2/b^2/.AlgebraicRules[a/b==c,{a,b,c}]
h^3/t^2/.AlgebraicRules[h^2/t^2==z,{h,t,z}]
Hidekazu Takahashi
<Mail> hidekazu at pop.biwako.ne.jp
<URL> http://www.biwako.ne.jp/~hidekazu/
> Hi,
>
> say I have an expression like (a^2)/(b^2) and I want to change it by
> introducing c:=a/b in order to obtain c^2.
>
> Euivalent exaple: h^3/t^2 -> (z:=h^2/t^2) -> z*h
>
> How do I get Mathematica to perform this kind of algebraic
> substitutions (on complex formulas)?
>
> Thanks
> Alessio
>
> ------------------------------
> Alessio Massaro
> IT/ASD/DB Off. 31-3-013
> CERN
> 1211 Geneva 23
> Switzerland
> ------------------------------