In class we studied the finite potential well problem--that
is, the solution to Schrödinger's equation with potential
Analytical solution entails solving the equations
or
subject to the condition
where
is the mass of the particle,
, and
. The
energy
lies in the range
. The ``tan'' and
``cot'' equations correspond, respectively, to even and odd
solutions for the wavefunction.
Modify the programs discussed in class to solve these
equations using the bisection/false-position technique, making
sure that all solutions are found. Then, by looping over
, plot your solutions for scaled energy
as
functions of scaled potential
, for
in steps of 0.1. Turn in your final program and
a table of results, as well as a graph of
.