If identical charges (-q) are placed at each corner of a cube of side b, then electric potential energy of charge ( +q) which is placed at centre of the cube will be
Length of the diagonal of a cube having each side b is b. So distance of centre of cube from each vertex is
Hence potential energy of the given system of charges is