In this page, I will post the solution of the problem in the *Fundamentals of Statistical and Thermal Physics*, written by F. Reif.

You can buy the book via

https://www.amazon.com/Fundamentals-Statistical-Thermal-Physics-Frederick/dp/1577666127/ref=sr_1_2?s=books&ie=UTF8&qid=1509339510&sr=1-2&keywords=Fundamentals+of+Statistical+and+Thermal+Physics.