Internal energy and Entropy, Translational rotational, vibrational and electronic partition function and their comparison