1 2 3 4 5
clc //to calculate de Broglie wavelength V=100 //potential difference in volts lambda=12.25/sqrt(V) disp("de Broglie wavelength of any electron is lambda="+string(lambda)+"angstrom")