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

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


FOR MB STATISTICS

Since the particles are identical in MB statistics, i.e. bosons are indistinguishable,

Configuration
Energy of the configuration (Ei)
Number of states
(gi)
0
 ๐ด
AA
-
0
1
-
AA
2๐ด
1
A
A
 ๐ด
1






The Partition function of the system is,


The mean energy of the system,

Now,

Now,
or,

for simplification let us assume,                      ๐Ÿ„=1 & 
So now,     



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.





Output:
This is the output of the program

FOR FD STATISTICS

The fermions are indistinguishable & they obey Pauli exclusion principle, so no two fermions can have the same quantum state.

Configuration
Energy of the configuration (Ei)
Number of states
(gi)
0
 ั”
A
A
 ั”
1


So the simplified Partition function & energy functions are,




The program for plotting the curve is,


Output:


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 reading. If you have any questions, comment below. I'll try to help it.




๐Ÿ™Thank You๐Ÿ™


Comments

Popular posts from this blog

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