find the form of the density of states in k-space for standing waves in a two-dimensional and in a one-dimensional box