Icon
 

Calculating the partition function for a 2 state system