1 2 3 4 5 6 7 8 9 10
clc //initialisations r=8.3//j/mol/k J=4.2//j/cal T=273 m=2//gm //CALCULATIONS ke=(3*r*T/(2*m*J)) //results printf(' ke of one gm of hydrogen= % 1f calories',ke)