1 2 3 4
clc; E=2.18*10^-18; //energy in Joule k=1.38*10^-23; //constant in J/K disp(((2*E)/(3*k)),"Temperature in Kelvin = "); //displaying result