Der harmonische Oszillator
Stationäre Lösung für den harmonischen Oszillator (sigma=1)
| > | u:=(n,x)->1/sqrt(2^n*n!)*Pi^(-1/4)*HermiteH(n,x)*exp(-x^2/2); |

| > | E:=n->n+1/2; |
![]()
| > | V:=x->x^2/2; |
![]()
| > |
| > | plot([u(3,x)+E(3),E(3),V(x)],x=-4..4,color=[red,blue,black]); |
![[Maple Plot]](images/harmosztk4.gif)
| > |
| > | plot([u(3,x)^2+E(3),E(3),V(x)],x=-4..4,color=[red,blue,black]); |
![[Maple Plot]](images/harmosztk5.gif)
| > |
| > |
Vergleich mit der klassischen Verteilung
| > | rhoklass:=n->1/(Pi*sqrt((2*E(n)-x^2))); |

| > | int(rhoklass(13),x=0..sqrt(2*E(13))); |
![]()
| > | plot([3*rhoklass(7)+E(7),3*u(7,x)^2+E(7),E(7),V(x)],x=-5..5,0..12,color=[green,red,blue,black],thickness=2); |
![[Maple Plot]](images/harmosztk8.gif)
| > |
| > |
Zeitabhängigkeit
| > | psi:=(n,x,t)->u(n,x)*exp(-I*E(n)*t); |
![]()
| > | T:=n->2*Pi/E(n); |
![]()
| > | display([seq(plot([evalc(Re(psi(3,x,t)))+E(3),E(3),V(x)],x=-4..4,color=[red,black,blue],thickness=2),t=seq(T(3)*i/50,i=0..49))],insequence=true); |
![[Maple Plot]](images/harmosztk11.gif)
Das ist nur die halbe Wahrheit...
| > | display([seq(spacecurve([x,5*evalc(Im(psi(3,x,t))),5*evalc(Re(psi(3,x,t)))],x=-5..5,axes=frame,numpoints=250,shading=ZHUE,thickness=2),t=seq(T(3)*i/48,i=0..47))],insequence=true); |
![[Maple Plot]](images/harmosztk12.gif)
| > |
Überlagerung von Zuständen
Grundzustand und erste Oberschwingung mit gleichem Gewicht:
| > |
![[Maple Plot]](images/harmosztk13.gif)
| > |
| > | display([seq(plot([evalc(abs(psig))^2+Eq,Eq,V(x)],x=-4..4,color=[red,blue,black],thickness=2),t=seq(2*Pi*i/48,i=0..47))],insequence=true); |
![[Maple Plot]](images/harmosztk14.gif)
| > |
Poissonverteilung für kohärente Zustände (Schrödinger)
| > | lambda:='lambda': |
| > | af:=n->lambda^n/sqrt(n!)*exp(-lambda^2/2); |

| > |
Histogramm
![[Maple Plot]](images/harmosztk16.gif)
| > |
Paket
| > | display([seq(plot([Eq,2*psigabs+Eq,V(x)],x=-5..5,0..8,color=[blue,red,black],thickness=[1,2,2]),t=seq(2*Pi*i/96,i=0..95))],insequence=true); |
![[Maple Plot]](images/harmosztk17.gif)
Und hier ist wieder die volle Wahrheit
| > | display([seq(display([seq(pzeig(xx,t),xx=seq(k,k=seq(j/5,j=-25..25))),spacecurve(psigspace(x,t),x=-5..5,axes=frame,numpoints=250,shading=ZHUE,thickness=2)]),t=seq(4*Pi*i/96,i=0..95))],insequence=true); |
![[Maple Plot]](images/harmosztk18.gif)
| > |
Ein Zeiger kommt so zustande:
| > | x:=2.8: t:='t': |
| > | display([seq(display([plot([[0,0],seq(p[i],i=1..nmax)],color=red),plot([p[nmax],[0,0]],color=black)],thickness=2),t=seq(4*Pi*i/96,i=0..95))],insequence=true); |
![[Maple Plot]](images/harmosztk19.gif)
Gewichtete Eigenfunktionen
| > | x:='x':t:=0: |
| > | plot([seq(av[i]*psiv[i],i=1..nmax)],x=-5..5); |
![[Maple Plot]](images/harmosztk20.gif)
| > |
| > | plot([seq(av[i]*psiv[i]+Ev[i],i=1..nmax),V(x),seq(Ev[i],i=1..nmax)],x=-5..5,0..10); |
![[Maple Plot]](images/harmosztk21.gif)
komma@oe.uni-tuebingen.de