The maximum number of electrons that can be accommodated in the 4th energy
32
The distribution of electron in the shells is governed by the formula i.e. 2n2 Where 'n' represents the number of shells. The first shell is represented as 'K', second shell as 'L', third shell as 'M', and fourth shell as 'N' and so on.
There for, as per the formula above, the 'K' shell i.e. 1st shell will contain 2 x 12 =2 electrons and 'L' shell will contain 2 x 22 = 8 electrons,
'M' shell will contain 2 x 32 = 18 electrons and 'N' shell will contain 2 x 42 = 32 electrons.
The maximum number of electrons that can be accommodated in the 4th energy is 32.