Classical simple harmonic oscillator
Consider a one-dimensional, classical, simple harmonic oscillator with mass m and potential energy

The SHO is in contact with a thermal reservoir (heat bath) at temperature T. Calculate the classical partition function, Helmholtz free energy, and energy.