I'm curious approximately how much energy would be stored in the repulsion (both classical electrostatic, and any Pauli-type quantum effects) between the electrons if the "space" between the electrons and nuclei were shrunk down like this. How would it compare to, e.g., an atomic bomb being detonated, or the kinetic energy of the Earth orbiting the Sun?
This is essentially a Fermi problem likely suitable for an astrophysics course that includes white dwarf formation. The details of the "golf ball" and "grain of sand" are probably not critical, but if specifics are desired: A standard golf ball has a mass of 46 g, a diameter of 43 mm, and is mostly made of hydrocarbon polymers; a grain at the boundary between ISO 14688 medium and coarse sand has a diameter of 0.63 mm.