Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

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
>>>
>>
>>
>


  • Prev by Date: Circle equation problem
  • Next by Date: Re: Unsorted Union
  • Previous by thread: Re: Re: (a/b)^2 when a/b is replaced by e won't yield e^2
  • Next by thread: Re: Re: (a/b)^2 when a/b is replaced by e won't yield e^2