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: [mg61397] Re: (a/b)^2 when a/b is replaced by e won't yield e^2
  • From: mike_in_england2000 at yahoo.co.uk
  • Date: Tue, 18 Oct 2005 02:44:39 -0400 (EDT)
  • References: <dinvoj$s6i$1@smc.vnet.net><200510150223.WAA17341@smc.vnet.net> <diskhc$m7i$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

> HoldForm[(a/b)^2] /. (a/b) -> e

> HTH

> Mike

>>If you want to do it this way it is better to use Unevaluated rather
>>than HoldForm:

>>Unevaluated[(a/b)^2] /. (a/b) -> e

>Andrzej Kozlowski
>Tokyo, Japan

Hi Andrzej

Thanks for the reply - I didn't know about the Unevaluated command  -
why is it better to use it rather than HoldForm?  I am not disputing
what you say - I just would like to understand.

Thanks

Mike


  • Prev by Date: Re: surface fitting question
  • Next by Date: Help with a function to return the 'age' of itself
  • 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