6th_Sem_01 Plotting variation of Energy(E) & Specific heat at constant Volume(Cv) with Temperatue(T) for Maxwell-Boltzmann Statistics for 2 particles in 2 single state system using Python & Matplotlib

Plotting variation of Energy(E) & Specific heat at constant Volume(Cv) with Temperature(T) for Maxwell-Boltzmann Statics for 2 particles in 2 single state system using Python & Matplotlib 


Since the particles are distinguishable in MB statistics we can denote them as A & B

Configuration
Energy of the Configuration
No of states (gi)
0
ฮต
AB
-
0
1
-
AB
2ฮต
1
A
B
ฮต
2
B
A








The Partation function of the system is,

The mean energy of the system,

Now,

Now,
or,

for simplification let us assume,                      ๐Ÿ„=1    &
So now,     Z(x)=1+exp(-2/x)+2exp(-1/x)
      〈E〉=(2exp(-2/x)+2exp(-1/x))/Z
      〈E2〉=(4exp(-2/x)+2exp(-1/x))/Z

Now it's time to write a program that can plot these functions, you can use this program or can modify it for more customisation.





This is the output of the program


If you change the program, post your program in the comments. Believe me it is very interesting to modify and create your own program.

Thanks for finally reading. If you have any questions, comment below. I'll try to help it.




๐Ÿ™Thank You๐Ÿ™


Comments

Popular posts from this blog

6th_Sem_02 Plotting variation of E & Cv with T for BE & FD Statistics for 2 particles in 2 single state system using Python & Matplotlib