HARMONIC OSCILLATOR WAVEFUNCTIONS: DUE 13 Feb
(1) Write a program to calculate the harmonic oscillator wavefunctions

(2) Plot out the first 5 wavefunctions, and the wavefunction corresponding to n=10

(3) Re write the harmonic oscillator program so that it calls the Hermite polynomials either in a subroutine or function. Include the normalization factor for the wavefunctions as either a function or a subroutine. (include a copy of the program)

(4) Write a program to compare the potential energy surfaces for a harmonic and a Morse (anharmonic) oscillator.

V(x) = 0.5*x**2

and

VM(x) = D*(1-exp(-alpha*x))**2

with

(i) alpha = 0.1, D = 1/(2*alpha**2)

(ii) alpha = 1., D = 1/(2*alpha**2)