This question is about the change in energy results in change in entropy idea.
I used to know that entropy only depends on spatial configuration but afterwards I learnt it also depends on energy. This later dependency is a bit obscure to me.
Suppose there are two containers of equal volume filled with the same ideal gas in the same amount. In container A, mean kinetic energy of the gas is about 300J and in container B mean kinetic energy of gas is 200J. Now if we think of the container A, the mean value of kinetic energy is little bit distant from 0J compared to that of container B. So, kinetic energy of the gas particles of container B is comparatevely more closer to mean value than that of container A. I mean in case of container B more number of particles have the possibility to possess almost the same kinetic energy compared to container A.(thinking as a statistical distribution). Now for a certain spatial configuration (for example say that the gas particles formed a sphere altogether in a container) the number of arrangements of kinetic energy possessed by gas particles is more in A than B (for example permutation for assigning energy values to gas particles which formed the sphere). Is this the reason for which entropy in higher energy state is more than the lower?
Summary: the more the mean kinetic energy the more variations of kinetic energy is observed among the particles. Does this make entropy dependent on energy?
So can anyone please provide me an indication whether this idea as stated above is correct or not?
I apologize for using such wierd examples in between.
[I have asked this question in the comments section in one of my previous questions but could not elaborate my thoughts there. Mr.@Mark_Bell did help me in that query. However I need a little more clarification about that concept since I could not express what I was thinking completely back then]