material science

Consider some hypothetical X+ – Y – ion pair for which the equilibrium interionic spacing and bonding energy values are 0.38 nm and – 6.38 eV respectively. If it isknown that n in the equation

has a value of 10, determine the expressions for attractive and repulsive energies, EA and ER as a functions of r where r is in nm and E is in eV.