Source: https://chemistry.tcd.ie/assets/pdf/jf/2012-2013/JF Basic Tutorials 1213/Tutorial 8 - Solutions.pdf