Consider a particle trapped in a potential well of infinite depth and width L. A particle in this potential is completely free i.e., potential energy is zero, except at the two ends (x = 0 and x = L), where an infinite force prevents it from escaping;