How To Calculate Ionization Potential