Posts

6th_sem_03 Plotting variation of Relative rms fluctuations in Energy (E) with Temperature (T) for different no of Bosons using Python & Matplotlib

Image
Plotting variation of Relative RMS fluctuations in Energy (E) with Temperature (T) for different no of Bosons using Python & Matplotlib The relative rms  fluctuations  is,  The simplified form of Partition function and mean energy & mean of square of energy is, For 2 particle system, For 3 particle system, For 3 particle system, You can derive the simplified forms of these functions from the energy configuration table by the assumption,  Now the program for the plotting curve is, import numpy as np import matplotlib.pyplot as plt x=np.linspace(0.01,20,10000) #for N=2 z2=1+np.exp(-2/x)+np.exp(-1/x) #Partation function E2=(2*np.exp(-2/x)+np.exp(-1/x))/z2 # E22=(4*np.exp(-2/x)+np.exp(-1/x))/z2 # Ef2=np.sqrt(E22-E2**2)/E2 #for N=3 z3=1+np.exp(-3/x)+np.exp(-1/x)+np.exp(-2/x) E3=(3*np.exp(-3/x)+np.exp(-1/x)+2*np.exp(-2/x))/z3 E23=(9*np....

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

Image
Plotting variation of Energy(E) & Specific heat at constant Volume(C v ) 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 (E i) Number of states (g i ) 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 custom...

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

Image
Plotting variation of Energy(E) & Specific heat at constant Volume(C v ) 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 (g i ) 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       〈 E 2 〉=(4exp(-2/x)+2exp(-1/x))/Z Now it's time to write a program that...