btw the entropy of an ideal gas is s n log u v where u and v are internal energy and volume per particle u v gives the number of microstates per particle