The Maxwell-Boltzmann distribution for average number of particles n(E) in a state with
energy E is given by:
n(E)=Ag(E)e^(-(E)/(k)T)
Show that the energy distribution n(E) is maximized at E=k(T)/(2) and T=500K for this system by
differentiating n(E) with respect to E and solving (dn(E))/(dE)=0.