Chapter 6: Problem 14
Consider a square potential well of width \(w\), with walls of height \(V\) : Using Schrödinger's equation, it can be shown that the allowed energies \(E\) of a single quantum particle of mass \(m\) trapped in the well are solutions of $$ \tan \sqrt{w^{2} m E / 2 \hbar^{2}}= \begin{cases}\sqrt{(V-E) / E} & \text { for the even numbered states, } \\ -\sqrt{E /(V-E)} & \text { for the odd numbered states, }\end{cases} $$ where the states are numbered starting from 0 , with the ground state being state 0 , the first excited state being state 1 , and so forth. a) For an electron (mass \(9.1094 \times 10^{-31} \mathrm{~kg}\) ) in a well with \(V=20 \mathrm{eV}\) and \(w=1 \mathrm{~nm}\), write a Python program to plot the three quantities $$ y_{1}=\tan \sqrt{w^{2} m E / 2 \hbar^{2}}, \quad y_{2}=\sqrt{\frac{V-E}{E}}, \quad y_{3}=-\sqrt{\frac{E}{V-E}}, $$ on the same graph, as a function of \(E\) from \(E=0\) to \(E=20 \mathrm{eV}\). From your plot make approximate estimates of the energies of the first six energy levels of the particle. b) Write a second program to calculate the values of the first six energy levels in electron volts to an accuracy of \(0.001 \mathrm{eV}\) using binary search.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.