This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
numexercises7_14 [2014/07/14 13:34] bogner |
numexercises7_14 [2014/07/14 13:35] bogner |
||
---|---|---|---|
Line 10: | Line 10: | ||
* Modify your code in the previous step so that it calculates $\langle nl|V|n'l\rangle$ for any user-supplied potential $V(r)$. | * Modify your code in the previous step so that it calculates $\langle nl|V|n'l\rangle$ for any user-supplied potential $V(r)$. | ||
- | * Using the analytical expressions for the kinetic energy matrix elements $\langle nl|T|n'l\rangle$,construct the hamilton matrix $\langle nl|H|n'l\rangle$ for the hydrogen atom. Keep HO basis states $n,n'<N_{max}$ and diagonalize it. For a given $N_{max}$ value, repeat the calculation at different HO frequencies and plot the ground state energy versus $\omega$ (or the oscillator length scale, defined as $b=\sqrt{\hbar/(m\omega)$. | + | * Using the analytical expressions for the kinetic energy matrix elements $\langle nl|T|n'l\rangle$,construct the hamilton matrix $\langle nl|H|n'l\rangle$ for the hydrogen atom. Keep HO basis states $n,n'<N_{max}$ and diagonalize it. For a given $N_{max}$ value, repeat the calculation at different HO frequencies and plot the ground state energy versus $\omega$ (or the oscillator length scale, defined as $b=\sqrt{\hbar/(m\omega)}$. |