Source: https://olical.free.fr/2nd/sequence5/exercices/Exercice bilan_atome_ioncor.pdf