Icon
 

Calculating the energy for the singlet and triplet states