Ground-State Energy and Stopping Power of an Electron Gas