1 2 3 4 5 6 7 8 9
//Initialisation of variables clc amu=1.6558e-24 c=3e10 ev=1.6e-12//electron volt E=amu*c^2/ev EinMeV=E/10^6 printf('energy in million electron volt is %d MeV \n',EinMeV)