| Author |
Comment/Response |
Rick Eller
|
06/27/06 6:36pm
I am looking for a pattern-matching replacement rule which will transform exponential functions of the form exp(nit) into (1/(n^2-1))exp(nit) where i=sqrt[-1]. For example, exp(2it) should convert to (1/3)exp(2it). I've tried the following code without success :
In: Exp[2it] /. Exp[n_it] -> Exp[nit]/(n^2-1)
Out: e^2it
I would appreciate any suggestions as to how this code should be modified
URL: , |
|