Re: (a/b)^2 when a/b is replaced by e won't yield e^2

*To*: mathgroup at smc.vnet.net*Subject*: [mg61524] Re: (a/b)^2 when a/b is replaced by e won't yield e^2*From*: "Richard J. Fateman" <fateman at eecs.berkeley.edu>*Date*: Fri, 21 Oct 2005 00:38:07 -0400 (EDT)*Organization*: UC Berkeley*References*: <dinvoj$s6i$1@smc.vnet.net><200510150223.WAA17341@smc.vnet.net> <diskhc$m7i$1@smc.vnet.net> <200510180644.CAA11192@smc.vnet.net> <dj4on1$gkn$1@smc.vnet.net>*Sender*: owner-wri-mathgroup at wolfram.com

What a bunch of literal-minded answers. Hacking on syntax or un-simplified forms is not going to get you anywhere but solving this one problem. You might as well tell Mike that the solution is the function foo[q_]:=e^2; then foo[(a/b)^2] becomes e^2. Here's a solution more in the spirit of solving the problem, which is to find occurrence of a/b mathematically. Try Last[PolynomialReduce[(a/b)^2, {e - a/b}, {a}]] RJF Andrzej Kozlowski wrote: > On 18 Oct 2005, at 15:44, mike_in_england2000 at yahoo.co.uk wrote: > > >>>HoldForm[(a/b)^2] /. (a/b) -> e >>> >> >> >

**Follow-Ups**:**Re: Re: (a/b)^2 when a/b is replaced by e won't yield e^2***From:*Chris Chiasson <chris.chiasson@gmail.com>

**References**:**Re: (a/b)^2 when a/b is replaced by e won't yield e^2***From:*mike_in_england2000@yahoo.co.uk

**Re: (a/b)^2 when a/b is replaced by e won't yield e^2***From:*mike_in_england2000@yahoo.co.uk