6th_sem_03 Plotting variation of Relative rms fluctuations in Energy (E) with Temperature (T) for different no of Bosons using Python & Matplotlib
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....