## Computer Algorithm

Schroedinger's equation for this
problem is solved using the "shooting method" in which initial guesses
for the boundary conditions for the wave function, Y, and
its first derivative, Y', are
made. After an iteration, the guesses are refined and the results compared
until an acceptable tolerance level is reached. In this problem the
guesses are made for the left side of the graph and the solution is calculated
from left to right. More of the details of this method may be found in the
finite square-well potential exercise.

**© 2000 by Prentice-Hall, Inc. A Pearson Company**