Question: How to make subs only works in exponential?

How should I change w1 to w2 only in exponential? For example, let

x := omega1*exp(omega1*t1*I) + omega1/exp(omega1*t1*I)

expect result:

x := omega1*exp(omega2*t1*I) + omega1/exp(omega2*t1*I)
Please Wait...