Physics, Python Programming, Runge Kutta.
including the imaginary values. fig, ax = plt.subplots(1,2, figsize = (15,5)) ax[0].plot(xaxis, psi.real, xaxis, psi.imag, xaxis, v(xaxis)) ax[1].plot(xaxis, psiprime.real, xaxis, psiprime.imag, xaxis, v(xaxis)) plt.show() Visual Output for this code. Note how the wavefunction changes as it enters