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: Re: (a/b)^2 when a/b is replaced by e won't yield e^2

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61329] Re: [mg61316] Re: (a/b)^2 when a/b is replaced by e won't yield e^2
  • From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
  • Date: Sun, 16 Oct 2005 00:17:45 -0400 (EDT)
  • References: <dinvoj$s6i$1@smc.vnet.net> <200510150223.WAA17341@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

On 15 Oct 2005, at 11:23, mike_in_england2000 at yahoo.co.uk wrote:

> 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




  • Prev by Date: Re: problem solving polynomial equations
  • Next by Date: Use strings in Mathematica, like in C?
  • Previous by thread: Re: (a/b)^2 when a/b is replaced by e won't yield e^2
  • Next by thread: Re: (a/b)^2 when a/b is replaced by e won't yield e^2