A parallel-plate capacitor has its plates vertical, a distance d0 apart when uncharged. One plate is fixed. The other can slide sideways on smooth guides, and a horizontal spring holds it, relaxed at the gap d0. A battery is connected and its voltage is raised very slowly from zero. At what gap does the movable plate suddenly snap onto the fixed one?