MathGroup Archive 2007

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

Search the Archive

Re: Replace certain variable

  • To: mathgroup at
  • Subject: [mg74844] Re: [mg74821] Replace certain variable
  • From: Sseziwa Mukasa <mukasa at>
  • Date: Sat, 7 Apr 2007 04:09:23 -0400 (EDT)
  • References: <>

On Apr 6, 2007, at 4:25 AM, KFUPM wrote:

> Dear Group
> If i have a term like : F[w]*Exp[I*w*t] where F[w] is an arbitrary
> function, and i want to replace w by x+ s*a only in the exponent not
> in F[w], i wonder what is the quickest and easiest way to do it
> provided that i have so many similar terms.

I would change all the F[w] to something else, then change w, then  
restore F[w] eg:

F[w] Exp[I w t]/.F[w]->c/.w->x+s a/.c->F[w]



  • Prev by Date: Re: Replace certain variable
  • Next by Date: Re: Optimal variable selection in multiple linear regression ?
  • Previous by thread: Replace certain variable
  • Next by thread: Re: Replace certain variable