(1) Differentiate EN with respect to r, and then set the resulting expression equal to zero, since the curve of EN versus r is a minimum at E0. (2) Solve for r in terms of A, B, and n, which yields r0, the equilibrium interionic spacing.