separation of variables, particle in a box