1. The problem statement, all variables and given/known data In part a) to this question I calculated the partition function which is Z = 1 + 3/e + 5/e^2 2. Relevant equations I can't find an equation relating U to Z. 3. The attempt at a solution If someone has an explanation or a link to an equation that would be great. Thanks.