Residual entropy physics problem explanation