After determining the canonical partition function you can determine the energy as a function of temperature. Now how to understand that differentiation
of the energy in terms of temperature gives specific heat at constant volume or that of at constant pressure(C[itex]_{}[/itex]p or C[itex]_{}[/itex]v)?
