The quantum numbers of the ground level with energy , the quantum numbers of the first level with energy , and the quantum numbers of the second level with energy .
According to Pauli’s exclusion principle, the two electrons cannot occupy the same quantum-mechanical state.
The ground state has only a single set of quantum numbers, so it can occupy 2 electrons, the second state has three sets of quantum numbers, so it can occupy 6 electrons and the third state have three sets of quantum numbers, so it can occupy 6 electrons
Therefore, out of 10 electrons 2 are in the ground state, 6 in the second state, and the left 2 electrons are occupied by the third state.
Hence, the energy of the highest level occupied by an electron when 10 electrons are placed into a cubical box is .