PX284 - E1b - entropy

S=kBiPilnPi Pi=exp(βEi)ZlnPi=βEilnZS=kBiPi(βEi+lnZ)=kB(βU+lnZ)

note: U=iEiPi and iPi=1