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


> 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