Infinite square well in quantum mechanics