Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*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 2002

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

Search the Archive

Re: Change of Variables

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32518] Re: Change of Variables
  • From: "David P. Johnson" <johnson at nmtx.edu>
  • Date: Fri, 25 Jan 2002 02:57:47 -0500 (EST)
  • Organization: New Mexico Tech
  • References: <a2onns$5v9$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <a2onns$5v9$1 at smc.vnet.net>, John S
<bosniajohns at hotmail.com> wrote:

> test=v/c
> Replace[test^2,v/c -> beta]
> 
> does not yield beta^2, but rather v^2/c^2.
> 
> Again, any and all help would be greatly appreciated.

Once you do the test^2, there is no v/c for the replace to find. Try:

(Replace[test,v/c -> beta])^2

-- 
-David
(Signature continues here)
N.B.: Remove the 'x' to email me


  • Prev by Date: Indents, paragraphs, etc.
  • Next by Date: principle root? problem
  • Previous by thread: Re: Change of Variables
  • Next by thread: RE: Change of Variables