Quantum Mechanics of a particle in a potential well