2. For a system of non-interacting, one-dimensional,distinguishable classical particles in a harmonic oscillatorpotential, V = kx2 in contact with a particlereservoir with chemical potential µ and a thermalreservoir at temperature T.
(a) Calculate the grand partition function Z for the system.Note that there is no fixed \"volume\" for this system.
(b) Obtain N (number of particles) and U as functions of µ and Tand show that U satisfies the equipartition theorem