//Initialisation of variables clc m=9e-31//mass of electron e=1.6e-19//charge of electron V=5000//volts v=sqrt(2*V*e/m) printf('maximum speed of electron is %e metre per second \n',v)