1 2 3 4 5 6 7 8 9
//Variable declaration kT=1; E_EF=1; //Calculations p_E=1/(1+exp(E_EF/kT)) //Result printf('p(E) =%0.3f \n ',(p_E))