Electron density distribution in a high frequency discharge in the presence of plasma resonance