//chapter27 //example 9 clc //given e=1.6*10^-19 //charge in coul E=1.2*10^4 //electric field in nt/coul x=1.5*10^-2 //length of deflecting assembly in m K0=3.2*10^-16 //kinetic energy of electron in joule //calculation y=e*E*x^2/(4*K0) disp(y,"Corresponding deflection in meters is")