How can I plot time-dependent wave-functions?

  • Thread starter Thread starter Freddy Cisneros
  • Start date Start date
  • Tags Tags
    Plot
Click For Summary
To plot the wave function of free particles as a function of both position (x) and time (t), a foundational understanding of multivariable calculus is essential, as the function involves two variables. The standard wave equation can guide the plotting process. Wolfram Alpha is suggested as a useful tool for visualizing functions with multiple parameters, allowing for experimentation. A user is specifically trying to plot the solution to the Schrödinger equation for a free particle using the function Ψ(x,t) = e^(ikx - wt). However, they encounter an issue where the real and imaginary components do not oscillate vertically with time when x is fixed. There is a suggestion that Python or C programming might provide a solution, although the user acknowledges limitations in their programming knowledge.
Freddy Cisneros
Messages
3
Reaction score
1
I am trying to plot the wave-function of free particles as a function of x and time. Can someone explain or reference a site which explains how.

--Thank you
 
Computer science news on Phys.org
So for this, it will be helpful if you understand a bit of multivariable calculus. Since the plot will not only be a function of time, but also a function of space (x,t) so your function now has two variables. We know this for a fact, because we encounter it in our daily lives. (at least we perceive it to be such a fact) Now looking at standard equation of a wave :
wavdes2.gif

We see how a function might change as x, and t changes. But much of the time, one parameter may seem rather arbitrary, and that parameter may be time.

I know that I am getting a bit off topic, but use the standard equations of a wave to guide you on what you want to plot. I believe Wolfram alpha has the ability to plot functions of several parameters if I am not mistaken. Experiment, and have a little fun with it. :)
 
RaulTheUCSCSlug said:
So for this, it will be helpful if you understand a bit of multivariable calculus. Since the plot will not only be a function of time, but also a function of space (x,t) so your function now has two variables. We know this for a fact, because we encounter it in our daily lives. (at least we perceive it to be such a fact) Now looking at standard equation of a wave :
wavdes2.gif

We see how a function might change as x, and t changes. But much of the time, one parameter may seem rather arbitrary, and that parameter may be time.

I know that I am getting a bit off topic, but use the standard equations of a wave to guide you on what you want to plot. I believe Wolfram alpha has the ability to plot functions of several parameters if I am not mistaken. Experiment, and have a little fun with it. :)

Raul,

Thanks, and yeah I have been trying to plot the Solution to the Schrödinger equation for a free particle using Wolfram they have an interactive option where you can play around with the wave. However when plotting
$$\Psi(x,t)=e^{ikx-wt}$$
and I have x fixed, the real and imaginary components do not oscillate vertically with time. Maybe Python will do the trick?

--Freddy Cisneros
 
Freddy Cisneros said:
Raul,

Thanks, and yeah I have been trying to plot the Solution to the Schrödinger equation for a free particle using Wolfram they have an interactive option where you can play around with the wave. However when plotting
$$\Psi(x,t)=e^{ikx-wt}$$
and I have x fixed, the real and imaginary components do not oscillate vertically with time. Maybe Python will do the trick?

--Freddy Cisneros

Damn, yeah maybe python can do the trick, or C. But that goes beyond the realm of my knowledge.
 
RaulTheUCSCSlug said:
Damn, yeah maybe python can do the trick, or C. But that goes beyond the realm of my knowledge.

Thanks Raul, I'll look into it a little deeper.

--Freddy Cisneros
 
  • Like
Likes RaulTheUCSCSlug
Thread 'ChatGPT Examples, Good and Bad'
I've been experimenting with ChatGPT. Some results are good, some very very bad. I think examples can help expose the properties of this AI. Maybe you can post some of your favorite examples and tell us what they reveal about the properties of this AI. (I had problems with copy/paste of text and formatting, so I'm posting my examples as screen shots. That is a promising start. :smile: But then I provided values V=1, R1=1, R2=2, R3=3 and asked for the value of I. At first, it said...

Similar threads

Replies
10
Views
6K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 9 ·
Replies
9
Views
3K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 0 ·
Replies
0
Views
656