MathGroup Archive 2006

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

Search the Archive

Pattern Matching for Exponentials

I am looking for a pattern-matching replacement rule which will 
transform exponential functions of the form exp(n i t) into 
(1/(n^2-1))exp(n i t) where i = sqrt[-1]. For example, exp(2 i t) 
should convert to (1/3)exp(2 i t). I've tried the following code without 
success :

In:     Exp[2 i t]   /.  Exp[n_ i t] -> Exp[n i t]/(n^2-1)

Out:  e^2 i t

I would appreciate any suggestions as to how this code should be 


Rick Eller

  • Prev by Date: Re: solving an equation with sums
  • Next by Date: Re: 3D Plot (or ListPlot?) Question
  • Previous by thread: Re: Problem with LaplaceTransform and InverseLaplaceTransform
  • Next by thread: Re: Pattern Matching for Exponentials