import numpy as npimport matplotlib.pyplot as pltimport tkinter as tkfrom tkinter import simpledialog# 볼츠만 상수 (J/K)k_B = 1.380649e-23def boltzmann_distribution(energy, temperature): # 볼츠만 분포 계산 return np.exp(-energy / (k_B * temperature))def plot_boltzmann_distribution(energy_range, temperature): # 에너지 범위 생성 energies = np.linspace(0, energy_range, 500) # 분포 계산 distribution = bo..