# Plotting an expression with a complex-valued exponential [duplicate]

Given the wave function $\Psi\left ( x,t \right ) = \psi\left ( x \right )T\left ( t \right )$ with the spatial component of the wavefunction $\psi(x) = \psi_{0}e^{-ikx}$, I tried

Manipulate[Plot[B Exp[-I k x], {x, 0, 10}], {B, -10, 10}, {k, 0, 10}]


which gives

That is not what I'm looking for. Trying

Plot[E^(-I x), {x, 0, 10}]


gives

which I find just plain weird.

Am I using the wrong function or is this an inherent 'user' problem?

How do I get the right plot? In any case, I'm trying to plot the left moving wave of the spatial component of the Schrödinger's equation. I do not know how it looks like but, intuitively, it ought to resembles decays.

## marked as duplicate by Jason B., m_goldberg, Öskå, Sjoerd C. de Vries, Karsten 7.Dec 11 '15 at 20:00

wf[x_] := E^(-I x);

• Definitely - I like to answer when possible even while marking as a duplicate (I feed off the imaginary internet points I get when you click the check mark next to my answer). I can post the code for the Manipulate but you can probably figure that out. – Jason B. Dec 11 '15 at 13:34